public ActionResult DownVote(int idRetard) { return(Json(Vote.GetValueFromList(VoteRequest.changeVote(idRetard, long.Parse(User.Identity.Name), -1)))); }
public ActionResult DeleteVote(int idRetard) { return(Json(Vote.GetValueFromList(VoteRequest.DeleteVote(idRetard, Convert.ToInt32(User.Identity.Name))))); }
public ActionResult Index(int idRetard) { return(Json(Vote.GetValueFromList(VoteRequest.getVoteByRetard(idRetard)), JsonRequestBehavior.AllowGet)); }