controller-actions

ASP.NET MVC View Issue when returning ActionResult from different Action

Hello, I have two ASP.NET MVC Actions: public ActionResult GetAll() { return GetOne(1); } public ActionResult GetOne(Int32 id) { return View(id); } As you can see, GetAll is calling the action GetOne. However, when GetAll() is called (calling GetOne(id) and should be returning GetOne view) MVC throws an error saying t...

why would i get a different views when called from different controller actions in asp.net-mvc

I have 2 different controller actions. As seen below, one calls the same view as the other one. The fitness version has a bunch of jquery ui tabs. public ActionResult FitnessByTab(string tab, DateTime entryDate) { return View("Fitness", GetFitnessVM(DateTime.Today.Date)); } public ActionResult Fitness() {...