public IResult Update(Rentals rentals) { if (rentals.ReturnDate == null) { return(new ErrorResult(Messages.RentalsError)); } _rentalsDal.Update(rentals); return(new SuccessResult(Messages.Update)); }
public IResult Update(Rentals rentals) { _rentalsDal.Update(rentals); return(new SuccessResult("başarılı")); }
public IResult Update(Rentals rentals) { _rentalsDal.Update(rentals); return(new SuccessResult(Messages.CustomerUpdated)); }
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)); }
public void Update(Rentals rentals) { Console.WriteLine("Araba Güncellendi"); _rentalsDal.Update(rentals); }
public IResult Update(Rentals rent) { _rentalDal.Update(rent); return(new SuccessResult(Messages.RentUpdated)); }