Пример #1
0
 public ActionResult ReasonForPermissionDelete(ReasonForPermission reasonForPermission)
 {
     _reasonForPermissionService.Delete(reasonForPermission);
     return(RedirectToAction("ReasonForPermissionGetAll"));
 }
 public IResult Update(ReasonForPermission reasonForPermission)
 {
     _reasonForPermissionDal.Update(reasonForPermission);
     return(new SuccessResult());
 }
Пример #3
0
 public ActionResult ReasonForPermissionUpdate(ReasonForPermission reasonForPermission)
 {
     _reasonForPermissionService.Update(reasonForPermission);
     return(RedirectToAction("Index", "Home"));
 }
 public IResult Add(ReasonForPermission reasonForPermission)
 {
     _reasonForPermissionDal.Add(reasonForPermission);
     return(new SuccessResult());
 }