示例#1
0
        public void SetupBase()
        {
            _mockedRepository = new Mock <ISystemAuditRepository>();

            _currencyService = new Mock <ICurrencyService>();
            _context         = new ContosoRetailDWContext();
            //_mapper = new Mock<IMapper>();
        }
 public DashboardService(ContosoRetailDWContext context, IMapper mapper,
                         IForecastingService forecastingService,
                         IDeterminingService determiningService)
 {
     _context            = context;
     _mapper             = mapper;
     _forecastingService = forecastingService;
     _determiningService = determiningService;
 }
示例#3
0
 public AnomalyDetectionsService(ContosoRetailDWContext context)
 {
     _context = context;
 }
示例#4
0
 public ChannelService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#5
0
 public ProductService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#6
0
 public SearchService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public CurrencyService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public EmployeeService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public ScenarioService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public AccountingService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#11
0
 public MulticlassClassificationsService(ContosoRetailDWContext context)
 {
     _context = context;
     _customerOrdersMulticlassClassificationsDTO = new CustomerOrdersMulticlassClassificationsDTO();
 }
示例#12
0
 public ClusteringService(ContosoRetailDWContext context)
 {
     _context = context;
     _factStrategyPlanClusteringDTO = new FactStrategyPlanClusteringDTO();
 }
示例#13
0
 public MachineService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#14
0
 public EntityService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#15
0
 public ProductRepository(ContosoRetailDWContext context)
 {
     _context = context;
 }
 public CustomerService(ContosoRetailDWContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }