I wonder if it is possible to use a if condition to redirect user to a certain view in MVC4 C#?
for example
public ActionResult MyController()
{
if(this) {
return View1();
}
else {
return View2();
}
}
You can invoke a named View like so: