コード例 #1
0
 public SearchResultResponse GetSearchResults(SearchFilter filter)
 {
     if (filter != null)
     {
         switch (filter.SearchType)
         {
         case SearchType.Account:
             return(_searchRepository.GetAccounts(filter));
         }
     }
     return(new SearchResultResponse());
 }