public async Task <int> UpdateBicycle(Bicycle bicycle) { return(await _bicycleRepository.UpdateBicycle(bicycle)); }
protected override async Task <int> RunAsync() { _logger.LogInformation("UpdateBicycleCommand.RunAsync()"); return(await _bicycleRepository.UpdateBicycle(_bicycle)); }