コード例 #1
0
 public OrderService(Abp.ObjectMapping.IObjectMapper objectMapper, IProductService productService,
                     IRepository <OrderDL> repository, IUnitOfWork unitOfWork,
                     IRepository <ProductDL> productRepository)
 {
     this.objectMapper      = objectMapper;
     this.productService    = productService;
     this.repository        = repository;
     this.unitOfWork        = unitOfWork;
     this.productRepository = productRepository;
 }
コード例 #2
0
 public OrdersController(IOrderService orderService, Abp.ObjectMapping.IObjectMapper objectMapper)
 {
     this.orderService = orderService;
     this.objectMapper = objectMapper;
 }