I can't get RedirectToAction to work
- by DaveDev
I have the following Action Method that I'm trying to redirect from if the user is valid. But nothing happens. The breakpoint in the redirected-to action method never gets hit.
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Login(User user)
{
try
{
if (ModelState.IsValid)
{
…