Exemplo n.º 1
0
        public IEnumerable GetItems(DynamicEntityMetadata dynamicEntityMetadata, RouteValueDictionaryWrapper routeValueDictionaryWrapper)
        {
            var page     = int.Parse(routeValueDictionaryWrapper.GetValue("Page").ToString());
            var pageSize = int.Parse(routeValueDictionaryWrapper.GetValue("PageSize").ToString());

            return(_dynamicRepository.GetItems(dynamicEntityMetadata.EntityTypeFunction()(), Filters, page, pageSize, _requestManager.OrderBy(), dynamicEntityMetadata.ListIncludes().ToArray()));
        }