C# Class UCosmic.Web.Mvc.ApiControllers.GrantsController

Inheritance: ApiController
Afficher le fichier Open project: ucosmic/UCosmicAlpha

Méthodes publiques

Méthode Description
GrantsController ( IProcessQueries queryProcessor, IHandleCommands grantRole, IHandleCommands revokeRole, IValidator grantValidator, IValidator revokeValidator ) : System

Private Methods

Méthode Description
DeleteFromRole ( int userId, int roleId ) : HttpResponseMessage
GetRoles ( int userId ) : IEnumerable
PutInRole ( int userId, int roleId ) : HttpResponseMessage
ValidateGrant ( int userId, int roleId ) : HttpResponseMessage
ValidateRevoke ( int userId, int roleId ) : HttpResponseMessage

Method Details

GrantsController() public méthode

public GrantsController ( IProcessQueries queryProcessor, IHandleCommands grantRole, IHandleCommands revokeRole, IValidator grantValidator, IValidator revokeValidator ) : System
queryProcessor IProcessQueries
grantRole IHandleCommands
revokeRole IHandleCommands
grantValidator IValidator
revokeValidator IValidator
Résultat System