Example #1
0
 public void UpdateRenter(string renterid, Renters renter)
 {
     rLogic.UpdateRenter(renterid, renter);
 }
 public IActionResult EditRenter(Renters r)
 {
     rentersLogic.UpdateRenter(r.RenterId, r);
     return(RedirectToAction(nameof(ListRenters)));
 }