68 references to View
BasicWebSite (9)
Areas\Area1\Controllers\RemoteAttribute_HomeController.cs (2)
27return View(user); 36return View(_user);
Controllers\HomeController.cs (3)
27return View(people); 85return View(person); 97return View(person);
Controllers\NonNullableController.cs (1)
24return View(person);
Controllers\RemoteAttribute_HomeController.cs (2)
25return View(user); 34return View(_user);
Controllers\TempDataPropertyController.cs (1)
37return View(person);
ClaimsTransformation (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
Cookies (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
HtmlGenerationWebSite (15)
Controllers\CheckViewData.cs (2)
13return View(new SuperViewModel()); 23return View(new SuperViewModel());
Controllers\HtmlGeneration_HomeController.cs (11)
61return View(new AClass { DayOfWeek = Models.DayOfWeek.Friday, Month = Month.FirstOne }); 68return View(_order); 75return View(_order); 86return View(product); 106return View(_products); 109public IActionResult ProductListUsingTagHelpers() => View(_products); 150return View(employees); 175return View(warehouse); 191return View(warehouse); 242public IActionResult ValidationProviderAttribute(ValidationProviderAttributeModel model) => View(model); 246public IActionResult StatusMessage() => View(new StatusMessageModel { Message = "Some status message" });
Controllers\HtmlGeneration_WeirdExpressions.cs (2)
13return View(new WeirdModel()); 18return View(new WeirdModel());
IdentitySample.Mvc (26)
Controllers\AccountController.cs (16)
78return View(model); 83return View(model); 124return View(model); 231return View(model); 287return View(model); 317return View(model); 356return View(new SendCodeViewModel { Providers = factorOptions, ReturnUrl = returnUrl, RememberMe = rememberMe }); 414return View(new VerifyCodeViewModel { Provider = provider, ReturnUrl = returnUrl, RememberMe = rememberMe }); 426return View(model); 445return View(model); 461return View(new VerifyAuthenticatorCodeViewModel { ReturnUrl = returnUrl, RememberMe = rememberMe }); 473return View(model); 492return View(model); 508return View(new UseRecoveryCodeViewModel { ReturnUrl = returnUrl }); 520return View(model); 531return View(model);
Controllers\ManageController.cs (10)
60return View(model); 98return View(model); 177return phoneNumber == null ? View("Error") : View(new VerifyPhoneNumberViewModel { PhoneNumber = phoneNumber }); 188return View(model); 202return View(model); 240return View(model); 253return View(model); 274return View(model); 287return View(model); 310return View(new ManageLoginsViewModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ControllerTest.cs (2)
141var actualViewResult = controller.View(model); 185var actualViewResult = controller.View(model: null);
MvcFormSample (3)
Controllers\HomeController.cs (3)
35return View(todo); 42return View(todo); 48return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
PathSchemeSelection (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
RazorWebSite (7)
Controllers\DataAnnotationController.cs (1)
13return View(new EnumModel { Id = ModelEnum.FirstOption });
Controllers\DirectivesController.cs (1)
12return View(new Person { Name = "Person1" });
Controllers\HtmlHelperOptionsController.cs (2)
27return View(model); 47return View(model);
Controllers\UrlResolutionController.cs (1)
17return View(model);
Controllers\ViewEngineController.cs (2)
43return View(model); 54return View(model);
StaticFilesAuth (1)
Controllers\HomeController.cs (1)
24return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
TagHelpersWebSite (2)
Controllers\EmployeeController.cs (1)
31return View(employee);
Controllers\HomeController.cs (1)
13return View(new WebsiteContext