Esempio n. 1
0
 public List <UserDto> Handle(PagingContract query)
 {
     return(new List <UserDto>()
     {
         new UserDto()
         {
             Id = 1, FullName = "1"
         },
         new UserDto()
         {
             Id = 2, FullName = "2"
         },
     });
 }
Esempio n. 2
0
 public List <UserDto> GetAll(PagingContract pagingContract)
 {
     return(_queryProcessor.Process <PagingContract, List <UserDto> >(pagingContract));
 }