Пример #1
0
 public MenuGetAllResponse GetAllByFilter(MenuGetAllRequest request)
 {
     return(Execute <MenuGetAllRequest, MenuGetAllResponse>(
                request,
                response =>
     {
         int totalCount;
         response.Menus = _menuFacade.GetByFilter(request.Filter,
                                                  request.PageSize,
                                                  request.PageIndex,
                                                  request.OrderByField,
                                                  request.OrderByAsc, out totalCount);
         response.TotalCount = totalCount;
     }));
 }