Exemple #1
0
        private ControlGridAjaxData <ListItem> GetListItems(ControlGridFormRequest options, int listId)
        {
            int totals;
            var records = listItemService.GetRecords(options, out totals, x => x.ListId == listId);

            return(new ControlGridAjaxData <ListItem>(records, totals));
        }