public UnitOfWork(QualityContext context) { _context = context; AnomalyRepository = new AnomalyRepository(_context); MachineRepository = new MachineRepository(_context); ProductTypeRepository = new ProductTypeRepository(_context); ProductCodeRepository = new ProductCodeRepository(_context); CQRepository = new CQRepository(_context); PieceTypeRepository = new PieceTypeRepository(_context); UnitRepository = new UnitRepository(_context); TicketNCRepository = new TicketNCRepository(_context); ProductionAreaRepository = new ProductionAreaRepository(_context); }
public StoreCatalogInitialization(IConfiguration configuration, HttpClient httpClient, IProductionAreaService productionAreaService, IProductService productService, ISendMessageServiceBus sendMessageServiceBus, IProductRepository productRepository, IProductionAreaRepository productionAreaRepository, ILogServiceBus logServiceBus) { _configuration = configuration; _httpClient = httpClient; _productionAreaService = productionAreaService; _productService = productService; _sendMessageServiceBus = sendMessageServiceBus; _productRepository = productRepository; _productionAreaRepository = productionAreaRepository; _logServiceBus = logServiceBus; }
public MatchTOFromRepository(IProductionAreaRepository productionAreaRepository) { _productionAreaRepository = productionAreaRepository; }
public ProductionAreaRepositoryTest() { context = new StoreContext(); productionAreaRepository = new ProductionAreaRepository(context); }
public ProductionAreaController(IProductionAreaRepository productionAreaRepository, IMapper mapper) { _productionAreaRepository = productionAreaRepository; _mapper = mapper; }
public MatchRepositoryFromCRUD(IProductionAreaRepository productionAreaRepository) { _productionAreaRepository = productionAreaRepository; }