public ActionResult AdmitOrReject(int LeavePlanId, bool AdmitReject) { int thisUserId = 1; var leavePlans = TimesheetRepository.AdmitReject(LeavePlanId, AdmitReject); return(RedirectToAction("Supervise", leavePlans)); }
public ActionResult AdmitOrReject(int LeavePlanId, bool AdmitReject) { int thisUserId = 1; var leavePlans = TimesheetRepository.AdmitReject(LeavePlanId, AdmitReject); return(RedirectToAction("Supervise", leavePlans)); }