コード例 #1
0
 public ActionResult EditLocation(Location model)
 {
     if (ModelState.IsValid)
     {
         var response = _main.AttemptResponse(() => { return(_admin.EditLocation(model)); });
         return(RedirectToAction("Locations"));
     }
     return(RedirectToAction("Locations"));
 }