Appears: An unhandled exception occurred while processing the request. InvalidOperationException: The view '/OGS/Route.cshtml' was not found. The following locations were searched: /OGS/Route.cshtml
Although the file is present on the first path: Nop.Web => Areas => Admin => Views => OGS => Route.cshtml
Here is the controller code,
public class OGSRoute : BaseAdminController
{
public virtual async Task<IActionResult> Index()
{
return View("/OGS/Route.cshtml");
}
}