Exemple #1
0
 public IResult Delete(NRental rental)
 {
     _iRentalDal.Delete(rental);
     return(new SuccessResult(Messages.RentalDeleted));
 }
 public IResult Delete(Rental rental)
 {
     _rentalDAL.Delete(rental);
     return(new SuccessResult());
 }
Exemple #3
0
 public IResult Delete(Rental rental)
 {
     _rentalDAL.Delete(rental);
     return(new SuccessResult(Messages.RentalDeleted));
 }