Exemplo n.º 1
0
 public ActionResult EditEvent(List <Event> item)
 {
     if (ModelState.IsValid)
     {
         bool result = matchProvider.UpdateEvent(item.ToArray());
         if (!result)
         {
             log.Error("Controller: Match, Action: EditMatch Don't update Match");
         }
         return(RedirectToAction("ShowMatches"));
     }
     else
     {
         return(View());
     }
 }