旧版报表、仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
834 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using Warehouse.Code;
namespace Warehouse.Controllers.Account
{
[RoutePrefix("Account")]
public class AccountController : Controller
{
[Route("Login")]
[CustomAuthorizeAttribute(IsCheck = false)]
// GET: Account
public ActionResult Login()
{
return View("~/Views/Account/Login.cshtml");
}
[Route("Signout")]
[CustomAuthorizeAttribute(IsCheck = false)]
public ActionResult Signout()
{
Session.Abandon();
FormsAuthentication.SignOut();
return new RedirectResult("~/Account/Login");
//return View("~/Views/Account/Login.cshtml");
}
}
}