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
Post a Comment