I'm trying to switch views from a controller after checking the login info. How can I properly switch to the correct view after running this logic?
I want to switch to the question explanation view. My existing code is below:
[HttpPost]
public IActionResult LoginBody(LoginModel info)
{
    System.Diagnostics.Debug.WriteLine(info.Email);
    System.Diagnostics.Debug.WriteLine(info.Password);
    //Some login Verification Logic
   return View("~\\Views\\QuestionExplanation\\QuestionExplanation");        
}
My folders are organized as follows:
The code for the QuestionExplanationController is as follows:
namespace OliviaSite.Controllers
{
    public class QuestionExplanationController : Controller
    {
        // GET: /<controller>/
        [HttpGet]
        public IActionResult ShowView()
        {
            return View();
        }
    }
}

 
    