I have a controller
public ActionResult Index()
{
//SomeCode Here
}
public ActionResult CommingFromAnotherDomain(bool Result)
{
if(Result)
{
//How to pass control to upper method??
}
}
CommingFromAnotherDomain will execute first but after checking parameter in if condition. How can I pass control to upper method Index().
And I also want to check the below result in Index, so that I can eliminate some of work from that Index method.
Thanks in Advance.
1 Answer