C# Class FrannHammer.Api.Controllers.RolesController

Inheritance: BaseApiController
ファイルを表示 Open project: Frannsoft/FrannHammer

Public Methods

Method Description
RolesController ( IApplicationDbContext context ) : System

Protected Methods

Method Description
GetErrorResult ( Microsoft.AspNet.Identity.IdentityResult result ) : IHttpActionResult

Private Methods

Method Description
AddUserToRole ( UserToRoleModel model ) : Task
Create ( CreateRoleBindingModel model ) : Task
DeleteRole ( string id ) : Task
GetAllRoles ( ) : IHttpActionResult
GetRole ( string id ) : Task
ManageUsersInRole ( UsersInRoleModel model ) : Task
RemoveUserFromRole ( UserToRoleModel model ) : Task

Method Details

GetErrorResult() protected method

protected GetErrorResult ( Microsoft.AspNet.Identity.IdentityResult result ) : IHttpActionResult
result Microsoft.AspNet.Identity.IdentityResult
return IHttpActionResult

RolesController() public method

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