Beispiel #1
0
        public ListResult <PageTemplateSearchListItem> TemplateSearch(ListCommand listCommand, int siteId, string filter)
        {
            var data = PageTemplateRepository.GetSearchTemplatePage(listCommand, siteId, filter, out var totalRecords).ToList();

            ManageTemplateSearchItemsDescription(data, filter);
            return(new ListResult <PageTemplateSearchListItem>
            {
                Data = data,
                TotalRecords = totalRecords
            });
        }