public ActionResult SetPageSize(int itemCount)
        {
            var context = new CategoryPagerResolverContext();
            context.SetPageSize(itemCount);

            return this.RedirectToCurrentUmbracoPage();
        }
        public ActionResult SetSortField(string sort)
        {
            var context = new CategoryPagerResolverContext();
            context.SetSortBy(sort);

            if (Request.IsAjaxRequest())
            {
                // TODO we could populate the pager again here and 
                // return the Collection partial but we would need to pass the content id as well
                return Content("success");
            }

            return this.RedirectToCurrentUmbracoPage();
        }