public TestImpactService(IBaseDbService dbService, IProductLineService productLineService, ILoggerFactory loggerFactory, ILogger <TestImpactService> logger)
 {
     _dbService          = dbService;
     _productLineService = productLineService;
     _loggerFactory      = loggerFactory;
     _logger             = logger;
 }
Exemple #2
0
 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);
 }
Exemple #3
0
        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;
 }
Exemple #5
0
 public TestRunSessionService(IBaseDbService dbService, IProductLineService productLineService)
 {
     _dbService          = dbService;
     _productLineService = productLineService;
 }