Can someone help me into this?
I am still new to MVC, now I've a controller named 'A' and called its view.
What I want to happen is that I want to redirect from A's view to another controller for example controller 'B'.
Is tha开发者_Python百科t possible to happen?
Please help.
Thanks
Jason
You can use the RedirectToAction method
MSDN example
public ActionResult LogOff() {
    FormsAuth.SignOut();
    return RedirectToAction("Index", "Home");
}
First parameter is the Action name and second is the controller name.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论