asp.net mvc 5 - Is it possible to do Controller specific routing in MVC5? -



asp.net mvc 5 - Is it possible to do Controller specific routing in MVC5? -

i want actions in single controller point specific view folder. going have many analyticcontrollers inherit parent controller. goal have individual routing kid controller parent controllers view folder.

i have

public class homecontroller : controller { //controller stuff } public class homeanalyticscontroller : homecontroller { //all actions need point /home/viewinquestion.cshtml }

i want actions called in homeanalyticscontroller point /home/(view here)

i avoid pathing of returns if possible.

public actionresult myaction() { homecoming view("../home/myaction"); }

asp.net-mvc-5

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -