From 22b9d7647eb1e0d372b2ff68d475c6ae943d2f02 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Thu, 27 Apr 2017 11:15:33 -0700 Subject: [PATCH] React to rename of Page() -> View() --- testapps/RazorPagesApp/Pages/MyPageModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testapps/RazorPagesApp/Pages/MyPageModel.cs b/testapps/RazorPagesApp/Pages/MyPageModel.cs index a2aa5b0b04..4d8bf5e6b6 100644 --- a/testapps/RazorPagesApp/Pages/MyPageModel.cs +++ b/testapps/RazorPagesApp/Pages/MyPageModel.cs @@ -10,7 +10,7 @@ namespace RazorPagesApp public IActionResult OnGet(string person) { Name = person; - return View(); + return Page(); } } }