Esempio n. 1
0
 public async Task <SearchResponseDto> FindMatchesAsync(SearchRequestDto searchData)
 {
     try
     {
         return(await _repository.FindMatchesAsync(searchData));
     }
     catch (Exception inner)
     {
         var ex = new DatabaseReadException("Error during lookup", inner);
         _logger.LogCritical(ex.Message, ex);
         throw ex;
     }
 }