Exemplo n.º 1
0
        /// <summary>
        /// Sets the route values for the operation.
        /// </summary>
        /// <param name="routeValues">Route values</param>
        public ServerCrudOperationBuilder Route(RouteValueDictionary routeValues)
        {
            operation.Action(routeValues);

            SetUrl();

            return(this);
        }
Exemplo n.º 2
0
 protected virtual void SetOperationUrl(CrudOperation operation, string actionName, string controllerName, object routeValues)
 {
     operation.Action(actionName, controllerName, routeValues);
     operation.Url = operation.GenerateUrl(viewContext, urlGenerator);
 }
Exemplo n.º 3
0
 protected virtual void SetOperationUrl(CrudOperation operation, string actionName, string controllerName, object routeValues)
 {
     operation.Action(actionName, controllerName, routeValues);
     operation.Url = operation.GenerateUrl(viewContext, urlGenerator);
 }