コード例 #1
0
 public ActionResult Edit(ChargeCard model)
 {
     try
     {
         _chargeSrv.Save(model);
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         return(View("Edit", model));
         //throw ex;
         //return View();
     }
 }