コード例 #1
0
 public ActionResult Edit(string plantId, MSPLANT model)
 {
     try
     {
         IPlantService svc    = new PlantService();
         var           result = svc.Edit(plantId, model);
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         general.AddLogError("Plant Edit", ex.Message, ex.StackTrace);
         return(View("~/Views/Master/Plant/Index.cshtml"));
     }
 }