Exemple #1
0
 public ActionResult LotteryNumberDelete(int lotteryNumberId, int ticketId)
 {
     if (lotteryNumberId >= 0)
     {
         try
         {
             repo.DeleteLotteryNumber(lotteryNumberId);
         }
         catch (Exception e)
         {
             ViewData["EditError"] = e.Message;
         }
     }
     return(PartialView("LotteryNumberPartial", GetLotteryNumbers(ticketId)));
 }