Esempio n. 1
0
 public IResult Update(FuelType fuelType)
 {
     _fuelTypeDal.Update(fuelType);
     return(new SuccessResult(Messages.FuelTypeUpdated));
 }
Esempio n. 2
0
 public IResult Update(FuelType fuelType)
 {
     _fuelTypeDal.Update(_fuelTypeDal.Get(c => c.Id == fuelType.Id));
     return(new SuccessResult(Messages.Updated));
 }