public ListModel <ClientBlackListReason> List([FromBody] ListQuery listQuery)
 {
     return(new ListModel <ClientBlackListReason>
     {
         Count = _repository.Count(listQuery),
         List = _repository.List(listQuery)
     });
 }
Ejemplo n.º 2
0
 public ListModel <ClientBlackListReason> ClientBlackListReasons()
 {
     return(new ListModel <ClientBlackListReason>
     {
         List = _clientBlackListReasonRepository.List(new ListQuery()
         {
             Page = null
         }),
         Count = _clientBlackListReasonRepository.Count(new ListQuery()
         {
             Page = null
         })
     });
 }