public ActionResult Create(mgt_Menu model) { var result = service.Create(model); if (result.IsSuccess) { //remove all cache var cacheHelper = new CacheHelper(); cacheHelper.RemoveAll(); } return(Json(result)); }
public ActionResult Create() { var model = new mgt_Menu(); return(PartialView("_Edit", model)); }