public UserController(IConfiguration config, IDbConnector connector, IPermissionReader permissionReader, IUserReader userReader) { _config = config; _connector = connector; _permissionReader = permissionReader; _userReader = userReader; }
public GetAllPermissionsHandler(IPermissionReader reader) { this.reader = reader; }
public GetPermissionByIdHandler(IPermissionReader reader) { this.reader = reader; }
public CheckAccess(IDbConnector connector, IPermissionReader permissionReader) { _connector = connector; _permissionReader = permissionReader; }