I have a controller with a method that points to a view. How do I change the view that the action is mapped to? Like I want it to call ViewB instead of ViewA? Where do these mappings exist and how can I modify them? Thanks for any tips.
Thanks,
~ck in San Diego
Instead of:
return View(someModel);
use
return View("ViewYouWant", someModel);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With