示例#1
0
 public OpeningStockService(IOpeningStockRepository openingStockRepository, IPurchaseRepository purchaseRepository, IProductRepository productRepository, IStockAdjustmentRepository stockAdjustmentRepository)
 {
     this._openingStockRepository    = openingStockRepository;
     this._purchaseRepository        = purchaseRepository;
     this._productRepository         = productRepository;
     this._stockAdjustmentRepository = stockAdjustmentRepository;
 }
 public ItemStockAdjustmentService(IStockAdjustmentRepository stockAdjustmentRepository,
                                   IItemStockAdjustmentRepository itemStockAdjustmentRepository, IInventoryRepository inventoryRepository)
 {
     this.stockAdjustmentContext     = stockAdjustmentRepository;
     this.itemStockAdjustmentContext = itemStockAdjustmentRepository;
     this.inventoryContext           = inventoryRepository;
 }
示例#3
0
 public FinPosService(ICompanyRepository companyRepository, IBranchRepository branchRepository, IUserRepository userRepository, IProductRepository productRepository, IPurchaseRepository purchaseRepository, ICategoryRepository categoryRepository, ILabelSettingRepository labelSettingRepository, ISupplierRepository supplierRepository, IOpeningStockRepository openingStockRepository, IStockAdjustmentRepository stockAdjustmentRepository, ISystemConfigurationRepository systemConfigurationRepository, ITaxRepository taxRepository)
 {
     _companyRepository             = companyRepository;
     _branchRepository              = branchRepository;
     _userRepository                = userRepository;
     _productRepository             = productRepository;
     _categoryRepository            = categoryRepository;
     _purchaseRepository            = purchaseRepository;
     _labelSettingRepository        = labelSettingRepository;
     _supplierRepository            = supplierRepository;
     _openingStockRepository        = openingStockRepository;
     _stockAdjustmentRepository     = stockAdjustmentRepository;
     _systemConfigurationRepository = systemConfigurationRepository;
     _taxRepository = taxRepository;
 }
示例#4
0
 public StockAdjustmentService(IStockAdjustmentRepository _stockAdjustmentRepository, IStockAdjustmentValidator _stockAdjustmentValidator)
 {
     _repository = _stockAdjustmentRepository;
     _validator  = _stockAdjustmentValidator;
 }
 public StockAdjustmentsController(IStockAdjustmentRepository stockAdjustmentRepository, IProductServiceRepository productServiceRepository)
 {
     this.stockAdjustmentRepository = stockAdjustmentRepository;
     this.productServicesRepository = productServiceRepository;
 }