Beispiel #1
0
        private CheckPagingResult Search(int currentPage, int pageSize)
        {
            CheckService service = new CheckService(_checkRepository);

            CheckPagingRequest r = new CheckPagingRequest();
            SearchCriteria     s = BuilSearchQuery();

            r.PageSize       = pageSize;
            r.CurrentPage    = currentPage;
            r.SearchCriteria = s;

            CheckPagingResult result = service.SearchWithPagination(r);

            return(result);
        }