C# Class PRTools.Web.Controllers.AccountController

Inheritance: Controller
ファイルを表示 Open project: AcklenAvenue/PRTools Class Usage Examples

Public Methods

Method Description
AccountController ( IAccountService accountService, ILogger logger, IWebAuthenticationService webAuthenticationService, Common.UsefulStuff.IMappingEngine mappingEngine, IAccountCreator accountCreator, IAccountCreator creator ) : System
ChangePassword ( ) : System.Web.Mvc.ActionResult
CreateAccount ( ) : System.Web.Mvc.ActionResult
Login ( ) : System.Web.Mvc.ActionResult
Logout ( ) : System.Web.Mvc.ActionResult
ProcessChangePasswordInput ( string currentPassword, string newPassword ) : System.Web.Mvc.ActionResult
ProcessCreateAccountInput ( CreateAccountInputModel createAccountInputModel ) : System.Web.Mvc.ActionResult
ProcessDeleteAccountInput ( int id ) : System.Web.Mvc.ActionResult
ProcessLoginInput ( string username, string password, int rememberMe ) : System.Web.Mvc.ActionResult
ProcessQuickSearchInput ( string searchString ) : System.Web.Mvc.ActionResult
UpdateAccount ( int id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AccountManagement ( ) : System.Web.Mvc.ActionResult
CreateAccountManagementViewModel ( ) : AccountManagementViewModel
ProcessUpdateAccountInput ( UpdateAccountInputModel updateAccountInputModel ) : System.Web.Mvc.ActionResult

Method Details

AccountController() public method

public AccountController ( IAccountService accountService, ILogger logger, IWebAuthenticationService webAuthenticationService, Common.UsefulStuff.IMappingEngine mappingEngine, IAccountCreator accountCreator, IAccountCreator creator ) : System
accountService IAccountService
logger ILogger
webAuthenticationService IWebAuthenticationService
mappingEngine Common.UsefulStuff.IMappingEngine
accountCreator IAccountCreator
creator IAccountCreator
return System

ChangePassword() public method

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

CreateAccount() public method

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

Login() public method

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

Logout() public method

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

ProcessChangePasswordInput() public method

public ProcessChangePasswordInput ( string currentPassword, string newPassword ) : System.Web.Mvc.ActionResult
currentPassword string
newPassword string
return System.Web.Mvc.ActionResult

ProcessCreateAccountInput() public method

public ProcessCreateAccountInput ( CreateAccountInputModel createAccountInputModel ) : System.Web.Mvc.ActionResult
createAccountInputModel PRTools.Web.Models.CreateAccountInputModel
return System.Web.Mvc.ActionResult

ProcessDeleteAccountInput() public method

public ProcessDeleteAccountInput ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

ProcessLoginInput() public method

public ProcessLoginInput ( string username, string password, int rememberMe ) : System.Web.Mvc.ActionResult
username string
password string
rememberMe int
return System.Web.Mvc.ActionResult

ProcessQuickSearchInput() public method

public ProcessQuickSearchInput ( string searchString ) : System.Web.Mvc.ActionResult
searchString string
return System.Web.Mvc.ActionResult

UpdateAccount() public method

public UpdateAccount ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult