public ExcelDocumentProcessor() { _normalizeData = new NormalizeData(); _dbContext = new SketchpackDbContext(); _categoryRepository = new CategoryRepository(_dbContext); _categoryTranslationRepository = new CategoryTranslationRepository(_dbContext); _imageDescriptionRepository = new ImageDescriptionRepository(_dbContext); _imageDictionaryRepository = new ImageDictionaryRepository(_dbContext); _langDictionaryRepository = new LangDictionaryRepository(_dbContext); }
public CategoryService(ICategoryRepository categoryRepository, ICategoriesNewsRepository categoriesNewsRepository, ICategoryTranslationRepository categoryTranslationRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWebsiteResource> resourceService, IMenuItemRepository menuItemRepository) { _categoryRepository = categoryRepository; _categoriesNewsRepository = categoriesNewsRepository; _categoryTranslationRepository = categoryTranslationRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; _menuItemRepository = menuItemRepository; }
public NewsService(INewsRepository newsRepository, INewsTranslationRepository newsTranslationRepository, ICategoriesNewsRepository categoriesNewsRepository, IMenuItemRepository menuItemRepository, ICategoryRepository categoryRepository, ICategoryTranslationRepository categoryTranslationRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWebsiteResource> websiteResourceService, IConfiguration configuration ) { _newsRepository = newsRepository; _newsTranslationRepository = newsTranslationRepository; _categoriesNewsRepository = categoriesNewsRepository; _menuItemRepository = menuItemRepository; _categoryRepository = categoryRepository; _sharedResourceService = sharedResourceService; _websiteResourceService = websiteResourceService; _configuration = configuration; _categoryTranslationRepository = categoryTranslationRepository; }
public CategoryManager(ICategoryTranslationRepository categoryTranslationRepository, ICategoryRepository categoryRepository, IMapper mapper) { _categoryTranslationRepository = categoryTranslationRepository; _categoryRepository = categoryRepository; _mapper = mapper; }