public OrderService(IUnitOfWork unitOfWork, IOrderRepository orderRepository, IOrderBoxRepository orderBoxRepository, IMapper mapper)
 {
     this._orderRepository = orderRepository;
     _orderBoxRepository   = orderBoxRepository;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
 }
示例#2
0
 public AssembleService(IUnitOfWork unitOfWork,
                        IAssembleRepository assembleRepository,
                        IAssembleVerifyService assembleVerifyService,
                        IOrderBoxRepository orderBoxRepository,
                        IOrderRepository orderRepository,
                        IDayFinishedRepository dayFinishedRepository,
                        IMapper mapper
                        )
 {
     _unitOfWork            = unitOfWork;
     _assembleRepository    = assembleRepository;
     _assembleVerifyService = assembleVerifyService;
     _orderBoxRepository    = orderBoxRepository;
     _orderRepository       = orderRepository;
     _dayFinishedRepository = dayFinishedRepository;
     _mapper = mapper;
 }
 public AssembleVerifyService(IOrderBoxRepository orderBoxRepository, IAssembleRepository assembleRepository, IOrderRepository orderRepository)
 {
     _orderBoxRepository = orderBoxRepository;
     _assembleRepository = assembleRepository;
     _orderRepository    = orderRepository;
 }
示例#4
0
 public OrderBoxService(IUnitOfWork unitOfWork, IOrderBoxRepository orderBoxRepository)
 {
     _unitOfWork         = unitOfWork;
     _orderBoxRepository = orderBoxRepository;
 }