public GetPageContentOptionsResponse Get(GetPageContentOptionsRequest request)
        {
            var pageContent = repository
                .AsQueryable<PageContent>()
                .Where(f => f.Id == request.PageContentId && !f.IsDeleted && !f.Content.IsDeleted)
                .Fetch(f => f.Content).ThenFetchMany(f => f.ContentOptions)
                .FetchMany(f => f.Options)
                .ToList()
                .FirstOrDefault();

            var results = optionService
                .GetMergedOptionValuesForEdit(pageContent.Content.ContentOptions, pageContent.Options)
                .Select(o => new OptionModel
                    {
                        Key = o.OptionKey,
                        Value = o.OptionValue,
                        DefaultValue = o.OptionDefaultValue,
                        Type = ((Root.OptionType)(int)o.Type)
                    })
                .AsQueryable()
                .ToDataListResponse(request);

            return new GetPageContentOptionsResponse { Data = results };
        }
 public GetPageContentOptionsResponse Get(GetPageContentOptionsRequest request)
 {
     var results = PageContentOptionsHelper.GetPageContentOptionsResponse(repository, request.PageContentId, request, optionService);
     
     return new GetPageContentOptionsResponse { Data = results };
 }