Пример #1
0
 public UserController(IConfiguration config, IDbConnector connector, IPermissionReader permissionReader, IUserReader userReader)
 {
     _config           = config;
     _connector        = connector;
     _permissionReader = permissionReader;
     _userReader       = userReader;
 }
Пример #2
0
 public GetAllPermissionsHandler(IPermissionReader reader)
 {
     this.reader = reader;
 }
Пример #3
0
 public GetPermissionByIdHandler(IPermissionReader reader)
 {
     this.reader = reader;
 }
Пример #4
0
 public CheckAccess(IDbConnector connector, IPermissionReader permissionReader)
 {
     _connector        = connector;
     _permissionReader = permissionReader;
 }