C# Class FrannHammer.Api.Controllers.AccountController

Inheritance: BaseApiController
显示文件 Open project: Frannsoft/FrannHammer

Private Properties

Property Type Description
ChangePassword Task
GetErrorResult IHttpActionResult
GetManageInfo Task
GetUser Task
GetUserInfo FrannHammer.Models.UserInfoViewModel
GetUsers IHttpActionResult
Logout IHttpActionResult
Register Task
RemoveLogin Task

Public Methods

Method Description
AccountController ( IApplicationDbContext context ) : System

Private Methods

Method Description
ChangePassword ( ChangePasswordBindingModel model ) : Task
GetErrorResult ( Microsoft.AspNet.Identity.IdentityResult result ) : IHttpActionResult
GetManageInfo ( string returnUrl, bool generateState = false ) : Task
GetUser ( string id ) : Task
GetUserInfo ( ) : UserInfoViewModel
GetUsers ( ) : IHttpActionResult
Logout ( ) : IHttpActionResult
Register ( RegisterBindingModel model ) : Task
RemoveLogin ( RemoveLoginBindingModel model ) : Task

Method Details

AccountController() public method

public AccountController ( IApplicationDbContext context ) : System
context IApplicationDbContext
return System