Last post Sep 28, 2019 04:43 PM by mgebhard
Sep 28, 2019 03:20 PM|kobosh|LINK
I was asked this question in interview.Later I found only one way:
var controller = DependencyResolver.Current.GetService<ControllerB>();
controller.ControllerContext = new ControllerContext(this.Request.RequestContext, controller);
from Stack overflow. Are there more ways? Also I need scenario for calling another controller action. Please help.
Sep 28, 2019 04:43 PM|mgebhard|LINK