public SceneHandler(ISceneRepository sceneRepository, IProjectPartitionKeyGenerator partitionKeyGenerator, ISceneQueryRepository sceneQueryRepository) { _sceneRepository = sceneRepository; _sceneQueryRepository = sceneQueryRepository; _mapper = new SceneMapper(partitionKeyGenerator); _createSceneCommandValidator = new CreateSceneCommandValidator(); _updateSceneCommandValidator = new UpdateSceneCommandValidator(); _deleteByIdCommandValidator = new DeleteByIdCommandValidator(); _getListByParentIdQueryValidator = new GetListByParentIdQueryValidator(); }
public SceneFileRepository(IFileReader loader, SceneMapper mapper) : base(loader, mapper) { }