public Task<int> UpdateVehicleModelAsync(IVehicleModelDTO vehicleModel) { var model = mapper.Map<VehicleModel>(vehicleModel); return base.UpdateAsync(model); }
public Task <int> UpdateVehicleModelAsync(IVehicleModelDTO vehicleModel) { return(vehicleModelRepository.UpdateVehicleModelAsync(vehicleModel)); }
public Task<int> AddVehicleModelAsync(IVehicleModelDTO vehicleModel) { var model = mapper.Map<VehicleModel>(vehicleModel); return base.AddAsync(model); }
public Task <int> AddVehicleModelAsync(IVehicleModelDTO vehicleModel) { return(vehicleModelRepository.AddVehicleModelAsync(vehicleModel)); }