[HttpGet]
public ActionResult LogIn(string username)
{
if (username == null)
return View("404");
return View();
}
Inside the view a want to get the view file name. In this case the action value is always LogIn. But the actual view is or LogIn of 404. I have a master page that need to know the exactly view name.