Exemplo n.º 1
0
 public Task<int> UpdateVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     var model = mapper.Map<VehicleModel>(vehicleModel);
     return base.UpdateAsync(model);
 }
Exemplo n.º 2
0
 public Task <int> UpdateVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     return(vehicleModelRepository.UpdateVehicleModelAsync(vehicleModel));
 }
Exemplo n.º 3
0
 public Task<int> AddVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     var model = mapper.Map<VehicleModel>(vehicleModel);
     return base.AddAsync(model);
 }
Exemplo n.º 4
0
 public Task <int> AddVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     return(vehicleModelRepository.AddVehicleModelAsync(vehicleModel));
 }