public ActionResult ReasonForPermissionDelete(ReasonForPermission reasonForPermission) { _reasonForPermissionService.Delete(reasonForPermission); return(RedirectToAction("ReasonForPermissionGetAll")); }
public IResult Update(ReasonForPermission reasonForPermission) { _reasonForPermissionDal.Update(reasonForPermission); return(new SuccessResult()); }
public ActionResult ReasonForPermissionUpdate(ReasonForPermission reasonForPermission) { _reasonForPermissionService.Update(reasonForPermission); return(RedirectToAction("Index", "Home")); }
public IResult Add(ReasonForPermission reasonForPermission) { _reasonForPermissionDal.Add(reasonForPermission); return(new SuccessResult()); }