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