I'm interested in Redirect of reference action post And I want it to be similar to the generic
ActionResult action = new DashboardController().step_4(3);
retu action;
i wants code like this
public ActionResult generic(string Controller,string Action)
{
Assembly asm = Assembly.GetAssembly(typeof(MvcApplication));
var controlleractionlist = asm.GetTypes()
.Where(type => typeof(Controller).IsAssignableFrom(type));
retu typeof(typeof(controlleractionlist).GetProperty(Controller))
.GetProperty(Action);
}
Links can help Perhaps the answer Link 1
I apologize in advance for my English
