I have following scenario: I have a web application, with this web application I can create a simple document. I have also two Controllers: the default HomeController
and another DocGenController
. I would like to return to the DocGen.cshtml
-page after finishing a job in the DocGenController
. At this time I implemented a normal return: return View(../Home/DocGen.cshtml
.
But the problem is: if I use the return View(../Home/DocGen.cshtml)
-statement it will take me only back to the page (Case 1)
How can I reach case 2?