Currently, I am upgrading .NET MVC to .NET Core MVC. In MVC we are using a method like below so I need to keep that logic and it's used in lots of places. so can you help to find a way to set the Layout page from .NET Core Controller?
return View ("NameOfView",masterName:"viewName");
How to set layout from controller