How do you set the layout from a controller in .NET Core 3?
I’m now migrating from.NET MVC to.NET Core MVC. We utilize a method like this in MVC, thus I need to preserve that logic because it’s used in a number of places. So, could you assist me in figuring out how to set the Layout page using the.NET Core Controller?
return View ("NameOfView",masterName:"viewName");
Add comment