Пример #1
0
 public AbstractPurchaseOrderHeaderController(
     ApiSettings settings,
     ILogger <AbstractPurchaseOrderHeaderController> logger,
     ITransactionCoordinator transactionCoordinator,
     IPurchaseOrderHeaderService purchaseOrderHeaderService,
     IApiPurchaseOrderHeaderModelMapper purchaseOrderHeaderModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.PurchaseOrderHeaderService     = purchaseOrderHeaderService;
     this.PurchaseOrderHeaderModelMapper = purchaseOrderHeaderModelMapper;
 }
 public PurchaseOrderExcelImportController(IProductService productService,
                                           ISupplierService suppserv,
                                           IPurchaseOrderHeaderService purchaseOrderHeaderService,
                                           IPurchaseOrderLineService purchaseOrderLineService,
                                           IUnitOfWork unitOfWork)
 {
     _ProductService             = productService;
     _SupplierService            = suppserv;
     _PurchaseOrderHeaderService = purchaseOrderHeaderService;
     _PurchaseOrderLineService   = purchaseOrderLineService;
     _unitOfWork = unitOfWork;
 }
Пример #3
0
 public PurchaseOrderHeaderController(
     ApiSettings settings,
     ILogger <PurchaseOrderHeaderController> logger,
     ITransactionCoordinator transactionCoordinator,
     IPurchaseOrderHeaderService purchaseOrderHeaderService,
     IApiPurchaseOrderHeaderModelMapper purchaseOrderHeaderModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            purchaseOrderHeaderService,
            purchaseOrderHeaderModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }
 public PurchaseOrderHeaderChargeController(IPurchaseOrderHeaderService PurchaseOrderHeaderService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
 {
     _PurchaseOrderHeaderService = PurchaseOrderHeaderService;
     _unitOfWork = unitOfWork;
     _exception  = exec;
 }