C# Class BExIS.Web.Shell.Areas.SAM.Controllers.AccountController

Inheritance: Controller
显示文件 Open project: BEXIS2/Core

Public Methods

Method Description
ChangePassword ( ) : System.Web.Mvc.ActionResult
Error ( ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
LogOn ( string returnUrl ) : System.Web.Mvc.ActionResult
MyAccount ( ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
RenderRazorViewToString ( ) : string
ValidateEmail ( string email, long userId ) : System.Web.Mvc.JsonResult
ValidateTermsAndConditions ( bool accepted ) : System.Web.Mvc.JsonResult
ValidateUsername ( string username, long id ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
ChangePassword ( ChangePasswordModel model ) : System.Web.Mvc.ActionResult
LogOn ( AccountLogOnModel model ) : System.Web.Mvc.ActionResult
LogOnStatusPartial ( ) : System.Web.Mvc.ActionResult
MyAccount ( MyAccountModel model ) : System.Web.Mvc.ActionResult
Register ( AccountRegisterModel model ) : System.Web.Mvc.ActionResult

Method Details

ChangePassword() public method

public ChangePassword ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Error() public method

public Error ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

LogOff() public method

public LogOff ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

LogOn() public method

public LogOn ( string returnUrl ) : System.Web.Mvc.ActionResult
returnUrl string
return System.Web.Mvc.ActionResult

MyAccount() public method

public MyAccount ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Register() public method

public Register ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

RenderRazorViewToString() public method

public RenderRazorViewToString ( ) : string
return string

ValidateEmail() public method

public ValidateEmail ( string email, long userId ) : System.Web.Mvc.JsonResult
email string
userId long
return System.Web.Mvc.JsonResult

ValidateTermsAndConditions() public method

public ValidateTermsAndConditions ( bool accepted ) : System.Web.Mvc.JsonResult
accepted bool
return System.Web.Mvc.JsonResult

ValidateUsername() public method

public ValidateUsername ( string username, long id ) : System.Web.Mvc.JsonResult
username string
id long
return System.Web.Mvc.JsonResult