C# Class FrannHammer.Api.Controllers.RolesController

Inheritance: BaseApiController
Afficher le fichier Open project: Frannsoft/FrannHammer

Méthodes publiques

Méthode Description
RolesController ( IApplicationDbContext context ) : System

Méthodes protégées

Méthode Description
GetErrorResult ( Microsoft.AspNet.Identity.IdentityResult result ) : IHttpActionResult

Private Methods

Méthode 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 méthode

protected GetErrorResult ( Microsoft.AspNet.Identity.IdentityResult result ) : IHttpActionResult
result Microsoft.AspNet.Identity.IdentityResult
Résultat IHttpActionResult

RolesController() public méthode

public RolesController ( IApplicationDbContext context ) : System
context IApplicationDbContext
Résultat System