I have a list of radio buttons that my users will use to select how someone voted. I want to save the selection when it is made asynchronously to allow for the user to continue to make selections with out having to wait for the previous selection to save.
Ideally I would eventually be able to update some indicator when the save is complete.
I have just 3 values that need to be sent to the controller the TopicID the VoterID and the SelectionValue
Is there an easy way to do this? I am thinking this should be easy but I am not having any luck making it work.
[AcceptVerbs("POST")]
public async Task<bool> UpdateVoteRecord(int TopicID, int VoterID, string SelectionValue )
{
bool retval = await Task.Run(() => helper.SaveVoteRecord(TopicID, VoterID, SelectionValue));
return retval;
}