예제 #1
0
 public ActionResult EditPublication(Publication model)
 {
     if (ModelState.IsValid)
     {
         var response = _main.AttemptResponse(() => { return(_admin.EditPublication(model)); });
         return(RedirectToAction("Publications"));
     }
     return(RedirectToAction("Publications"));
 }