C# Class Retro_Indie_Spiel_Webserver.Controllers.AccountController

Controller für die Verwaltung der Accounts.
Inheritance: Controller
Exibir arquivo Open project: Vusur/HfTL_SW_Projekt Class Usage Examples

Public Methods

Method Description
AccountController ( ) : System

Leerer Konstruktor.

AccountController ( ApplicationUserManager userManager, ApplicationSignInManager signInManager ) : System

Konstruktor mit userManager und signInManager.

Index ( AccountIndexViewModel model ) : Task

Get: /Account Einloggen und Registrieren eines Users.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Methode für das Löschen des Controllers.

Private Methods

Method Description
AddErrors ( Microsoft.AspNet.Identity.IdentityResult result ) : void

Aus dem Result die Error dem Model hinzufügen.

Method Details

AccountController() public method

Leerer Konstruktor.
public AccountController ( ) : System
return System

AccountController() public method

Konstruktor mit userManager und signInManager.
public AccountController ( ApplicationUserManager userManager, ApplicationSignInManager signInManager ) : System
userManager ApplicationUserManager ApplicationUserManager
signInManager ApplicationSignInManager ApplicationSignInManager
return System

Dispose() protected method

Methode für das Löschen des Controllers.
protected Dispose ( bool disposing ) : void
disposing bool Boolean ob der UserManager und SignInManager gelöscht werden soll.
return void

Index() public method

Get: /Account Einloggen und Registrieren eines Users.
public Index ( AccountIndexViewModel model ) : Task
model Retro_Indie_Spiel_Webserver.Models.AccountIndexViewModel AccountIndexViewModel bestehend aus Email, Name, Password, confirmPassword und md5Hash.
return Task