public ActionResult Index(User user) { var auth = new Authorization(); auth.AddUser(user); // Create session FormsAuthentication.SetAuthCookie(user.Email, true); return RedirectToAction("Login", "Account"); }
public ActionResult Index(User user) { var auth = new Authorization(); auth.AddUser(user); return RedirectToAction("Login", "Account"); }