public ActionResult InfoList() { var manager = new VehicleManager(); var infos = manager.GetAllRequests().Data; return View("_RequestInfoList", infos); }
public ActionResult ChangeStatus(int sID, int rID) { var manager = new VehicleManager(); manager.UpdateRequestStatus(sID, rID); var status = manager.GetAllRequests().Data; return View("_RequestInfoList", status); }