Conversation
Notices
-
Verius (verius@community.highlandarrow.com)'s status on Wednesday, 15-Nov-2017 09:26:30 EST Verius
From the department of being a stubborn ass, trying to find out if you can really return an IActionResult from a razor page model handler. Eventually found the logic:https://github.com/aspnet/Mvc/blob/037c1ec47d9d38480a493a5d85942f9fdbbec21a/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/PageActionInvoker.cs#L251 (_result is of type IActionResult).