Let\'s say I have a controller:
public BController : Controller { public ActionResult Foo(FooViewModel vm) { ... } }
an
You can do this:
public AController : Controller { public ActionResult Bar(BarViewModel vm) { FooViewModel fooVm = MakeFooVM(vm); var bController = new BController(); return bController.Foo(fooVm); } }