コード例 #1
0
 public async Task <int> UpdateBicycle(Bicycle bicycle)
 {
     return(await _bicycleRepository.UpdateBicycle(bicycle));
 }
コード例 #2
0
 protected override async Task <int> RunAsync()
 {
     _logger.LogInformation("UpdateBicycleCommand.RunAsync()");
     return(await _bicycleRepository.UpdateBicycle(_bicycle));
 }