摘要:
1. Controller[HttpPost] public ActionResult LogOn(LogOnModel model, string returnUrl)2. View@model MvcApplication2.Models.LogOnModel @{ ViewBag.Title = "Log On"; string retUrl = ""; if (ViewContext.HttpContext.Request.UrlReferrer != null) { retUrl = ViewContext.HttpContext.Reques 阅读全文