public ActionResult Delete(int id) { if (id == -1) { return(this.Direct()); } _gongYePianQuService.DeleteGongYePianQu(_gongYePianQuService.GetGongYePianQuById(id)); _gongYePianQuService.Save(); return(View("Index")); }
public ActionResult Delete(int id) { if (id == -1) { return(this.Direct()); } _gongYePianQuService.DeleteGongYePianQuZhaoPian(id); _gongYePianQuService.Save(); return(View("Index", GetToolarPermission())); }