C# Class Example.HomeController

Inheritance: Example.Controller
显示文件 Open project: alipha/csharp-argon2

Public Methods

Method Description
Login ( string username, string password ) : ActionResult

Private Methods

Method Description
GetUser ( string username ) : User
LogInUser ( User user ) : void
RedirectToAction ( string action, string controller ) : ActionResult
UpdateUser ( User user ) : void
View ( LoginViewModel model ) : ActionResult

Method Details

Login() public method

public Login ( string username, string password ) : ActionResult
username string
password string
return ActionResult