Пример #1
0
        public InsertProductCommandHandler(IProductRepository productRepository,
                                           IProductQueries productQueries,
                                           IProductLanguageRepository productLanguageRepository,
                                           IProductLanguageQueries productLanguageQueries,
                                           IStorageFileProvider storageFile,
                                           IScheduleActionRepository scheduleActionRepository)
        {
            this.productRepository = productRepository;
            this.productQueries    = productQueries;

            this.productLanguageRepository = productLanguageRepository;
            this.productLanguageQueries    = productLanguageQueries;

            this.storageFile = storageFile;
            this.scheduleActionRepository = scheduleActionRepository;
        }
Пример #2
0
        public UpdateProductCommandHandler(IProductRepository productRepository,
                                           IProductQueries productQueries,
                                           IProductLanguageRepository productLanguageRepository,
                                           IProductLanguageQueries productLanguageQueries,
                                           IStorageFileProvider storageFile,
                                           IScheduleActionRepository scheduleActionRepository,
                                           ISettingQueries settingQueries)
        {
            this.productRepository = productRepository;
            this.productQueries    = productQueries;

            this.productLanguageRepository = productLanguageRepository;
            this.productLanguageQueries    = productLanguageQueries;

            this.storageFile = storageFile;
            this.scheduleActionRepository = scheduleActionRepository;

            this.settingQueries = settingQueries;
        }