public IResult Update(Rentals rentals)
 {
     if (rentals.ReturnDate == null)
     {
         return(new ErrorResult(Messages.RentalsError));
     }
     _rentalsDal.Update(rentals);
     return(new SuccessResult(Messages.Update));
 }
Esempio n. 2
0
 public IResult Update(Rentals rentals)
 {
     _rentalsDal.Update(rentals);
     return(new SuccessResult("başarılı"));
 }
Esempio n. 3
0
 public IResult Update(Rentals rentals)
 {
     _rentalsDal.Update(rentals);
     return(new SuccessResult(Messages.CustomerUpdated));
 }
Esempio n. 4
0
 public IResult Update(Rental rentals)
 {
     _RentalsDal.Update(rentals);
     return(new SuccessesResult(Messages.ProductUpdate));
 }
 public IResult Update(Rentals rentals)
 {
     _rentalsDal.Update(rentals);
     return(new SuccessResult(SuccessMessages.RentalUpdated));
 }
 public IResult Update(Rentals entity)
 {
     _rentalsDal.Update(entity);
     return(new SuccessResult(Massages.Updated));
 }
Esempio n. 7
0
 public void Update(Rentals rentals)
 {
     Console.WriteLine("Araba Güncellendi");
     _rentalsDal.Update(rentals);
 }
Esempio n. 8
0
 public IResult Update(Rentals rent)
 {
     _rentalDal.Update(rent);
     return(new SuccessResult(Messages.RentUpdated));
 }