示例#1
0
 public OrderInfoService(ILogger logger, IMapper mapper, SupplierInfoService supplierInfoService)
 {
     _dbContext           = new AppDbContext();
     _logger              = logger;
     _mapper              = mapper;
     _supplierInfoService = supplierInfoService;
 }
示例#2
0
 public IncomingOrderService(
     ILogger logger,
     IMapper mapper,
     SupplierInfoService supplierInfoService,
     OrderInfoService orderInfoSrv,
     CourierShiftHistoryService courierShiftHistoryService)
 {
     _dbContext                  = new AppDbContext();
     _logger                     = logger;
     _mapper                     = mapper;
     _supplierInfoService        = supplierInfoService;
     _orderInfoSrv               = orderInfoSrv;
     _courierShiftHistoryService = courierShiftHistoryService;
 }