68 references to Generate
Mvc.RoutingWebSite (68)
Areas\Admin\UserManagementController.cs (1)
22return _generator.Generate("Admin/Users/All");
Areas\Order\OrderController.cs (1)
22return _generator.Generate("/Order/GetOrder");
Areas\Travel\FlightController.cs (2)
21return _generator.Generate("/Travel/Flight", "/Travel/Flight/Index"); 27return _generator.Generate("/Travel/Flight/BuyTickets");
Areas\Travel\HomeController.cs (2)
20return _generator.Generate("/Travel", "/Travel/Home", "/Travel/Home/Index"); 26return _generator.Generate();
Areas\Travel\RailController.cs (2)
21return _generator.Generate("/ContosoCorp/Trains"); 27return _generator.Generate("/ContosoCorp/Trains/Schedule");
Controllers\BanksController.cs (4)
21return _generator.Generate( 32return _generator.Generate( 42return _generator.Generate("/Bank/Deposit", "/Bank/Deposit/5"); 49return _generator.Generate("/Bank/Withdraw/5");
Controllers\BlogController.cs (2)
21return _generator.Generate("/Blog/ShowPosts"); 26return _generator.Generate("/Blog/Edit/" + postId);
Controllers\BranchesController.cs (2)
19return _generator.Generate(); 25return _generator.Generate();
Controllers\CompanyController.cs (5)
25return _generator.Generate(Url.RouteUrl("Company", new { id = id })); 35return _generator.Generate(Url.RouteUrl("Company", new { id = id })); 44return _generator.Generate(Url.RouteUrl("RemoveCompany", new { id = id })); 52return _generator.Generate(Url.RouteUrl(new { id = id })); 60return _generator.Generate(Url.RouteUrl("Departments", new { id = id }));
Controllers\ContactController.cs (2)
20return _generator.Generate(Url.RouteUrl("ActionAsMethod", null, Url.ActionContext.HttpContext.Request.Scheme)); 25return _generator.Generate(Url.RouteUrl("ActionAsMethod", null, Url.ActionContext.HttpContext.Request.Scheme));
Controllers\ConventionalTransformerController.cs (2)
19return _generator.Generate(); 24return _generator.Generate($"/ConventionalTransformerRoute/conventional-transformer/Param/{param}");
Controllers\DefaultValuesController.cs (2)
19return _generator.Generate(id == null 26return _generator.Generate(id == "17"
Controllers\DynamicOrderController.cs (2)
20return _generator.Generate(Url.RouteUrl("AttributeRouteSlug", new { slug })); 26return _generator.Generate(Url.RouteUrl(null, new { controller = "DynamicOrder", action = "Index" }));
Controllers\EmployeeController.cs (9)
22return _generator.Generate("/api/Employee"); 28return _generator.Generate("/api/Employee"); 34return _generator.Generate("/api/Employee/Manager"); 40return _generator.Generate("/api/Employee/" + id); 46return _generator.Generate("/api/Employee/" + id); 52return _generator.Generate("/api/Employee/" + id + "/Administrator"); 58return _generator.Generate("/Manager/" + id); 64return _generator.Generate("/api/Employee/" + id + "/Administrator"); 70return _generator.Generate("/api/Employee/" + id + "/Salary");
Controllers\EndpointRoutingController.cs (3)
21return _generator.Generate("/EndpointRouting/Index", "/EndpointRouting"); 27return _generator.Generate("/endpoint-routing/ParameterTransformer"); 33return _generator.Generate("/endpoint-routing/" + id);
Controllers\FriendsController.cs (2)
22return _generator.Generate(id == null ? "/Friends" : $"/Friends/{id}"); 28return _generator.Generate("/Friends");
Controllers\HomeController.cs (4)
20return _generator.Generate("/", "/Home", "/Home/Index"); 26return _generator.Generate(); 31return _generator.Generate("/Home/Contact"); 36return _generator.Generate("/Home/OptionalPath/" + path);
Controllers\LoginController.cs (2)
20return _generator.Generate(Url.RouteUrl("ActionAsMethod", null, Url.ActionContext.HttpContext.Request.Scheme)); 25return _generator.Generate(Url.RouteUrl("ActionAsMethod", null, Url.ActionContext.HttpContext.Request.Scheme));
Controllers\MapsController.cs (3)
25return _generator.Generate( 34return _generator.Generate( 48return _generator.Generate(
Controllers\NonParameterConstraintController.cs (1)
19return _generator.Generate("/NonParameterConstraintRoute/NonParameterConstraint/Index");
Controllers\OrderController.cs (3)
21return _generator.Generate("/Order/Add/1"); 27return _generator.Generate("/Order/Add"); 33return _generator.Generate("/Order/Edit/1");
Controllers\PageRouteController.cs (2)
19return _generator.Generate("/PageRoute/ConventionalRoute/" + page); 25return _generator.Generate("/PageRoute/Attribute/" + page);
Controllers\ParameterTransformerController.cs (1)
20return _generator.Generate("/parameter-transformer/my-action");
Controllers\StoreController.cs (4)
21return _generator.Generate("/Store/Shop/Products"); 28return _generator.Generate("/Home/About"); 34return _generator.Generate("/Store/Shop/Orders"); 40return _generator.Generate("/Store/Shop/Orders");
Controllers\TeamController.cs (5)
21return _generator.Generate("/Team/" + teamId); 27return _generator.Generate("/Team/" + teamId); 33return _generator.Generate("/Teams"); 39return _generator.Generate("/Teams"); 69return _generator.Generate("/TeamName/" + name);