public ActionResult Verify(Validation_Doc Data) { if (ModelState.IsValid) { var data = new _Staff_Repo().Approve_Doc(Data); if (data >= 1) { return(RedirectToAction("Get_Applied")); } } return(View()); }
public ActionResult Reject(int User_ID) { var data = new _Staff_Repo().Reject_Doc(User_ID); return(RedirectToAction("Get_Applied")); }
public ActionResult Get_Applied() { var data = new _Staff_Repo().Get_Applied(); return(View(data)); }