Ejemplo n.º 1
0
 public IResult Delete(FuelType fuelType)
 {
     _fuelTypeDal.Delete(fuelType);
     return(new SuccessResult(Messages.FuelTypeDeleted));
 }
Ejemplo n.º 2
0
 public IResult Delete(FuelType fuelType)
 {
     _fuelTypeDal.Delete(_fuelTypeDal.Get(c => c.Id == fuelType.Id));
     return(new SuccessResult(Messages.Deleted));
 }