예제 #1
0
 public async Task <int> GetCustomersCountAsync()
 {
     try
     {
         return(await _customersRepository.CountAsync());
     }
     catch (Exception ex)
     {
         _logger?.LogError(ex.ToString());
         throw;
     }
 }