Пример #1
0
        public EditContentCommandHandler(IContentCommandRepository contentCommandRepository,
                                         IContentKeywordsCommandRepository contentKeywordsCommandRepository,
                                         IContentKeywordsQueryRepository contentKeywordsQueryRepository,
                                         IContentPlacesCommandRepository contentPlacesCommandRepository,
                                         IContentPlacesQueryRepository contentPlacesQueryRepository,
                                         IFileManagementQueryRepository fileManagementQueryRepository)
        {
            _contentCommandRepository         = contentCommandRepository;
            _contentKeywordsCommandRepository = contentKeywordsCommandRepository;
            _contentKeywordsQueryRepository   = contentKeywordsQueryRepository;

            _contentPlacesCommandRepository = contentPlacesCommandRepository;
            _contentPlacesQueryRepository   = contentPlacesQueryRepository;
            _fileManagementQueryRepository  = fileManagementQueryRepository;
        }
Пример #2
0
 public GetFileQueryHandler(IFileManagementQueryRepository fileManagementQueryRepository)
 {
     _fileManagementQueryRepository = fileManagementQueryRepository;
 }
 public RemoveFileCommandHandler(IFileManagementCommandRepository fileManagementCommandRepository,
                                 IFileManagementQueryRepository fileManagementQueryRepository)
 {
     _fileCommandRepository = fileManagementCommandRepository;
     _fileQueryRepository   = fileManagementQueryRepository;
 }