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