Ejemplo n.º 1
0
        public override System.Web.Mvc.ActionResult List(string query, WebPlex.Applications.CompactStore.Mvc.UrlToken <WebPlex.Applications.CompactStore.Models.SortOrder> order, WebPlex.Applications.CompactStore.Mvc.UrlToken <WebPlex.Applications.CompactStore.Models.SortDirection> direction, int?page, int?size)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.List);

            if (query != null)
            {
                ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "query", query);
            }
            if (order != null)
            {
                ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "order", order);
            }
            if (direction != null)
            {
                ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "direction", direction);
            }
            if (page != null)
            {
                ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "page", page);
            }
            if (size != null)
            {
                ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "size", size);
            }
            ListOverride(callInfo, query, order, direction, page, size);
            return(callInfo);
        }
Ejemplo n.º 2
0
 partial void ListByCategoryOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string categorySlug, string query, WebPlex.Applications.CompactStore.Mvc.UrlToken <WebPlex.Applications.CompactStore.Models.SortOrder> order, WebPlex.Applications.CompactStore.Mvc.UrlToken <WebPlex.Applications.CompactStore.Models.SortDirection> direction, int?page, int?size);