Пример #1
0
 public Entity.SearchResult <List <Entity.AdminRule> > List(Entity.SearchRequest request)
 {
     try
     {
         return(_adminRuleRepository.List(request));
     }
     catch (Exception ex)
     {
         _logger.ErrorLog(ex, $"AdminRuleService.List, Error: {ex.Message}");
         return(new Entity.SearchResult <List <Entity.AdminRule> >());
     }
 }
 public Entity.SearchResult <List <Entity.AdminRule> > List(Entity.SearchRequest request)
 {
     try
     {
         return(_adminRuleRepository.List(request));
     }
     catch (Exception ex)
     {
         _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name);
         return(new Entity.SearchResult <List <Entity.AdminRule> >());
     }
 }