public UsersController(CollectionsReadModel collectionsReadModel, AuthorizationReadModel authReadModel, JsonSerializerSettings settings, IMediator mediator)
		{
			_collectionsReadModel = collectionsReadModel;
			_authReadModel = authReadModel;
			_settings = settings;
			_mediator = mediator;
		}
Exemple #2
0
        public Boot(
			Projectionist projectionist,
			AggregateStore<Guid> store,
			UserService users,
			RoleService roles,
			PermissionService permissions,
			CollectionsReadModel collectionsReadModel,
			HistoryReadModel history,
			AuthorizationReadModel authorizationRead)
        {
            _projectionist = projectionist;
            _store = store;
            projectionist
                .Add(users)
                .Add(roles)
                .Add(permissions)
                .Add(collectionsReadModel.Project)
                .Add(history.Project)
                .Add(authorizationRead.Project);
        }