Example #1
0
 public ImportingOrderService(IImportingOrderRepository importingOrderRepository,
                              IProductRepository productRepository,
                              IImportingTransactionRepository importingTransactionRepository)
 {
     this.importingOrderRepository       = importingOrderRepository;
     this.productRepository              = productRepository;
     this.importingTransactionRepository = importingTransactionRepository;
 }
Example #2
0
 public ImportingOrderService(IImportingOrderRepository orderRepo
                              , IMapper mapper
                              , IImportingTransactionRepository transRepo
                              , ISupplierRepository supplierRepo
                              , IEmployeeRepository employeeRepo)
 {
     _orderRepo    = orderRepo;
     _transRepo    = transRepo;
     _mapper       = mapper;
     _supplierRepo = supplierRepo;
     _employeeRepo = employeeRepo;
 }