コード例 #1
0
 public Task<int> UpdateVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     var model = mapper.Map<VehicleModel>(vehicleModel);
     return base.UpdateAsync(model);
 }
コード例 #2
0
 public Task <int> UpdateVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     return(vehicleModelRepository.UpdateVehicleModelAsync(vehicleModel));
 }
コード例 #3
0
 public Task<int> AddVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     var model = mapper.Map<VehicleModel>(vehicleModel);
     return base.AddAsync(model);
 }
コード例 #4
0
 public Task <int> AddVehicleModelAsync(IVehicleModelDTO vehicleModel)
 {
     return(vehicleModelRepository.AddVehicleModelAsync(vehicleModel));
 }