public async Task <bool> CreateVehicleMake(IVehicleMake vehicleMake) { try { await _repository.Create(vehicleMake); await uow.SaveChangesAsync(); return(true); } catch { return(false); } }
public async Task <bool> CreateVehicleMake(IVehicleMake vehicleMake) { try { await _repository.Create(vehicleMake); await uow.SaveChangesAsync(); return(true); } catch { return(false); } }