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