public virtual ActionResult Login(LoginViewModel model) { // Simulate slow connection: Thread.Sleep(1000); return Json(new { success = false, redirectUrl = Url.Action(MVC.Home.Index()), message = "Login is not implemented." }); }
public override System.Web.Mvc.ActionResult Login(LoginViewModel model) { var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Login); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); return callInfo; }