public TestImpactService(IBaseDbService dbService, IProductLineService productLineService, ILoggerFactory loggerFactory, ILogger <TestImpactService> logger) { _dbService = dbService; _productLineService = productLineService; _loggerFactory = loggerFactory; _logger = logger; }
public ProductLineServiceTest() { _productLineRepository = Substitute.For <IProductLineRepository>(); _productCategoryService = Substitute.For <IProductCategoryService>(); _excelService = Substitute.For <IExcelService <ProductLineResponseModel> >(); _notificationContext = Substitute.For <INotificationService>(); _productLineService = new ProductLineService(_productLineRepository, _productCategoryService, _excelService, _notificationContext); }
public VerticalIntegrationReportFormController(VerticalIntegrationReportForm frmVerticalIntegration) : base(frmVerticalIntegration) { this.frmVerticalIntegration = frmVerticalIntegration; this.srvCustomer = SamsaraAppContext.Resolve <ICustomerService>(); this.srvProductLine = SamsaraAppContext.Resolve <IProductLineService>(); this.srvProductSubline = SamsaraAppContext.Resolve <IProductSublineService>(); this.srvProductFamily = SamsaraAppContext.Resolve <IProductFamilyService>(); lstLines = this.srvProductLine.GetAll() .AsParallel().OrderBy(x => x.Name).ToList(); this.InitializeFormControls(); }
public ProductLineController(IProductLineService productLineService) { _productLineService = productLineService; }
public TestRunSessionService(IBaseDbService dbService, IProductLineService productLineService) { _dbService = dbService; _productLineService = productLineService; }