public async Task <bool> CreateVehicle(VehicleMake vehicleMake) { if (!ValidateVehicleMake(vehicleMake)) { return(false); } bool res = await _vehicleRepository.CreateVehicle(vehicleMake); return(res); }
public async Task <bool> CreateVehicle(VehicleMake vehicleMake) { if (!ValidateVehicleMake(vehicleMake)) { return(false); } bool res = await _vehicleRepository.CreateVehicle(vehicleMake); return(res); }