I have a controller that has a metod that returns a View that accepts an object of type "A".
[HttpGet]
public virtual ActionResult FirstMethod(){
//logics
return View(MVC.MyController.Views.MyView, objectOfTypeA)
}
Form another action in another controller I am trying to do the same but with a different object. After the
[HttpGet]
public virtual ActionResult SecondMethod(){
//logics
return View(MVC.MyController.Views.MyView, model)
}
which is in another controller and another method, nothing happens. The View doesn't change. The URL doesn't redirect at all and stays on the same page. Do you have any idea why is that happening?