public ActionResult Edit(string regionId, CUSTOMREGION model) { try { IRegionService svc = new RegionService(); var result = svc.Edit(regionId, model); return(RedirectToAction("Index")); } catch (Exception ex) { general.AddLogError("Region Edit", ex.Message, ex.StackTrace); return(View("~/Views/Master/Region/Index.cshtml")); } }