Exemple #1
0
        public void DeleteRenter(int RenterId)
        {
            var Renter = RenterRepository.GetById(RenterId);

            RenterRepository.Delete(Renter);
        }
Exemple #2
0
 public ActionResult DeleteConfirmed(int id)
 {
     repo.Delete(id);
     return(RedirectToAction("Index"));
 }