private ListDynamicFormsTemplatesResponse QueryData()
        {
            var request = new ListDynamicFormsTemplatesRequest
            {
                PageSize = _viewModel.PageSize,
                RequestedPage = _viewModel.PageNumber,
                ListAllForms = true
            };

            SetSortingProperties(request);

            return ProcessRequest<ListDynamicFormsTemplatesResponse>(request);
        }
 private void SetSortingProperties(ListDynamicFormsTemplatesRequest listRequest)
 {
     //if (!string.IsNullOrEmpty(_viewModel.SortColumn))
     //{
     //	listRequest.SortField = _viewModel.SortColumn;
     //	listRequest.SortDirection = _viewModel.SortDirection.ToLowerInvariant() == "asc" ? "Ascending" : "Descending";
     //}
 }
 private static List<DynamicFormDto> GetAllForms(EventAdminDetailView parent)
 {
     var request = new ListDynamicFormsTemplatesRequest() { ListAllForms = true };
     return parent.ProcessRequest<ListDynamicFormsTemplatesResponse>(request).Templates.ToList();
 }