示例#1
0
 public SellingOrderService(ISellingOrderRepository sellingOrderRepository,
                            IProductRepository productRepository,
                            ISellingTransactionRepository sellingTransactionRepository)
 {
     this.sellingOrderRepository       = sellingOrderRepository;
     this.productRepository            = productRepository;
     this.sellingTransactionRepository = sellingTransactionRepository;
 }
 public SellingOrderService(ISellingOrderRepository orderRepo
                            , IMapper mapper
                            , ISellingTransactionRepository transRepo
                            , ICustomerRepository customerRepo
                            , IProductDetailRepository productDetailRepo
                            , IConfiguration config
                            , IProductRepository productRepo)
 {
     _orderRepo         = orderRepo;
     _mapper            = mapper;
     _transRepo         = transRepo;
     _productDetailRepo = productDetailRepo;
     _customerRepo      = customerRepo;
     _config            = config;
     _productRepo       = productRepo;
 }