예제 #1
0
 public ActionResult CleanVotes()
 {
     try
     {
         NotificationScheduler.RemoveJobs();
         _choiceService.CleanChoiceHistoryVotesDay();
     }
     catch (Exception ex)
     {
         TempData["VoteMessage"] = ex.Message;
     }
     return(RedirectToAction("Index"));
 }
 public void ClearChoiceHistoryVotesDay()
 {
     _service.CleanChoiceHistoryVotesDay();
 }