/// <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); }
protected virtual void SetOperationUrl(CrudOperation operation, string actionName, string controllerName, object routeValues) { operation.Action(actionName, controllerName, routeValues); operation.Url = operation.GenerateUrl(viewContext, urlGenerator); }