public InvoiceListModel(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ICustomerRepository customerRepository, ISparepartRepository sparepartRepository, IReferenceRepository referenceRepository, IVehicleGroupRepository vehicleGroupRepository, IVehicleDetailRepository vehicleDetailRepository, ISPKRepository spkRepository, ISPKDetailSparepartRepository spkDetailSparepartRepository, ISPKDetailSparepartDetailRepository spkDetailSparepartDetailRepository, ISpecialSparepartDetailRepository specialSparepartDetailRepository, IPurchasingDetailRepository purchasingDetailRepository, ISparepartManualTransactionRepository sparepartManualTransactionRepository, IUnitOfWork unitOfWork) : base() { _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _customerRepository = customerRepository; _sparepartRepository = sparepartRepository; _referenceRepository = referenceRepository; _vehicleGroupRepository = vehicleGroupRepository; _vehicleDetailRepository = vehicleDetailRepository; _spkRepository = spkRepository; _spkDetailSparepartRepository = spkDetailSparepartRepository; _spkDetailSparepartDetailRepository = spkDetailSparepartDetailRepository; _specialSparepartDetailRepository = specialSparepartDetailRepository; _purchasingDetailRepository = purchasingDetailRepository; _sparepartManualTransactionRepository = sparepartManualTransactionRepository; _unitOfWork = unitOfWork; }
public SPKEditorModel(ISettingRepository settingRepository, IReferenceRepository referenceRepository, IVehicleRepository vehicleRepository, ISPKRepository SPKRepository, ISPKDetailSparepartRepository SPKDetailSparePartRepository, ISPKDetailSparepartDetailRepository SPKDetailSparepartDetailRepository, ISparepartRepository sparepartRepository, ISparepartDetailRepository sparepartDetailRepository, IUsedGoodRepository usedGoodRepository, ISpecialSparepartRepository specialSparepartRepository, ISpecialSparepartDetailRepository specialSparepartDetailRepository, IVehicleWheelRepository vehicleWheelRepository, IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, IWheelExchangeHistoryRepository WheelExchangeHistoryRepository, ISPKScheduleRepository spkScheduleRepository, ISparepartStockCardRepository sparepartStokCardRepository, IUnitOfWork unitOfWork) : base() { _settingRepository = settingRepository; _referenceRepository = referenceRepository; _vehicleRepository = vehicleRepository; _SPKRepository = SPKRepository; _SPKDetailSparepartRepository = SPKDetailSparePartRepository; _SPKDetailSparepartDetailRepository = SPKDetailSparepartDetailRepository; _sparepartRepository = sparepartRepository; _sparepartDetailRepository = sparepartDetailRepository; _usedGoodRepository = usedGoodRepository; _specialSparepartDetailRepository = specialSparepartDetailRepository; _specialSparepartRepository = specialSparepartRepository; _vehicleWheelRepository = vehicleWheelRepository; _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _SPKScheduleRepository = spkScheduleRepository; _wheelExchangeHistoryRepository = WheelExchangeHistoryRepository; _sparepartStokCardRepository = sparepartStokCardRepository; _unitOfWork = unitOfWork; }
public SalesReturnListModel(ITransactionRepository transactionRepository, IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ISalesReturnRepository salesReturnRepository, ISalesReturnDetailRepository salesReturnDetailRepository, ISparepartRepository sparepartRepository, IReferenceRepository referenceRepository, ICustomerRepository customerRepository, ISparepartStockCardRepository sparepartStockCardRepository, ISparepartStockCardDetailRepository sparepartStockCardDetailRepository, IPurchasingDetailRepository purchasingDetailRepository, ISparepartManualTransactionRepository sparepartManualTransactionRepository, IUnitOfWork unitOfWork) : base() { _transactionRepository = transactionRepository; _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _salesReturnRepository = salesReturnRepository; _salesReturnDetailRepository = salesReturnDetailRepository; _sparepartRepository = sparepartRepository; _referenceRepository = referenceRepository; _customerRepository = customerRepository; _sparepartStokCardRepository = sparepartStockCardRepository; _sparepartStokCardDetailRepository = sparepartStockCardDetailRepository; _purchasingDetailRepository = purchasingDetailRepository; _sparepartManualTransactionRepository = sparepartManualTransactionRepository; _unitOfWork = unitOfWork; }
public InvoiceDetailService(IInvoiceDetailRepository invoiceDetailRepository, IMapper mapper, IInvoiceRepository invoiceRepository, IDataAccess dataAccess) { this.invoiceDetailRepository = invoiceDetailRepository; this.mapper = mapper; this.invoiceRepository = invoiceRepository; this.dataAccess = dataAccess; }
public SalesReturnEditorModel( ISalesReturnRepository salesReturnRepository, ISalesReturnDetailRepository salesReturnDetailRepository, IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ISparepartRepository sparepartRepository, ISparepartDetailRepository sparepartDetailRepository, IReferenceRepository referenceRepository, ITransactionRepository transactionRepository, ITransactionDetailRepository transactionDetailRepository, IJournalMasterRepository journalMasterRepository, ISpecialSparepartRepository specialSparepartRepository, ISpecialSparepartDetailRepository specialSparepartDetailRepository, ISparepartStockCardRepository sparepartStockCardRepository, IUnitOfWork unitOfWork) : base() { _salesReturnRepository = salesReturnRepository; _salesReturnDetailRepository = salesReturnDetailRepository; _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _sparepartRepository = sparepartRepository; _sparepartDetailRepository = sparepartDetailRepository; _transactionRepository = transactionRepository; _transactionDetailRepository = transactionDetailRepository; _journalMasterRepository = journalMasterRepository; _referenceRepository = referenceRepository; _specialSparepartRepository = specialSparepartRepository; _specialSparepartDetailRepository = specialSparepartDetailRepository; _sparepartStokCardRepository = sparepartStockCardRepository; _unitOfWork = unitOfWork; }
public UnitOfWorkSqlServerRepository(SqlConnection cn, SqlTransaction transaction) { ProductRepository = new ProductRepository(cn, transaction); ClientRepository = new ClientRepository(cn, transaction); InvoiceRepository = new InvoiceRepository(cn, transaction); InvoiceDetailRepository = new InvoiceDetailRepository(cn, transaction); }
public InvoiceService(IInvoiceRepository InvoiceRepository, IInvoiceDetailRepository InvoiceDetailRepository, ICustomerRepository CustomerRepository, ICategoryRepository CategoryRepository, IUnitOfWork unitOfWork) { this._InvoiceRepository = InvoiceRepository; this._InvoiceDetailRepository = InvoiceDetailRepository; this._CustomerRepository = CustomerRepository; this._CategoryRepository = CategoryRepository; this._unitOfWork = unitOfWork; }
public UnitOfWorkSqlServerRepository( SqlConnection context, SqlTransaction transaction ) { clientRepository = new ClientRepository(context, transaction); productRepository = new ProductRepository(context, transaction); invoiceRepository = new InvoiceRepository(context, transaction); invoiceDetailRepository = new InvoiceDetailRepository(context, transaction); }
public InvoiceListModel(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ICustomerRepository customerRepository, ISparepartRepository sparepartRepository, IUnitOfWork unitOfWork) : base() { _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _customerRepository = customerRepository; _sparepartRepository = sparepartRepository; _unitOfWork = unitOfWork; }
public RecapInvoiceByCustomerModel(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ICustomerRepository customerRepository, IReferenceRepository referenceRepository, ISparepartRepository sparepartRepository, IVehicleGroupRepository vehicleGroupRepository, IVehicleRepository vehicleRepository) : base(invoiceRepository, invoiceDetailRepository, customerRepository, referenceRepository, sparepartRepository, vehicleGroupRepository, vehicleRepository) { }
public RecapInvoiceByVehicleGroupModel(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ICustomerRepository customerRepository, IReferenceRepository referenceRepository, ISparepartRepository sparepartRepository, IVehicleGroupRepository vehicleGroupRepository, IVehicleRepository vehicleRepository) : base(invoiceRepository, invoiceDetailRepository, customerRepository, referenceRepository, sparepartRepository, vehicleGroupRepository, vehicleRepository) { }
public FrmReportInvoice(object param = null) { InitializeComponent(); invoiceRepo = new InvoiceRepository(); outletRepo = new OutletRepository(); productRepo = new ProductRepository(); invoiceDetailRepo = new InvoiceDetailRepository(); _param = param; LoadReport(); }
public HomeController(ILogger <HomeController> logger, IInvoiceDetailRepository invoiceDetailRepository, IInvoiceHeaderRepository invoiceHeaderRepository, IItemRepository itemRepository, IStoreRepository storeRepository, IUiteRepository uiteRepository) { _logger = logger; _storeRepository = storeRepository; _uiteRepository = uiteRepository; _itemRepository = itemRepository; _invoiceHeaderRepository = invoiceHeaderRepository; _invoiceDetailRepository = invoiceDetailRepository; }
public RecapInvoiceBaseModel(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ICustomerRepository customerRepository, IReferenceRepository referenceRepository, ISparepartRepository sparepartRepository, IVehicleGroupRepository vehicleGroupRepository, IVehicleRepository vehicleRepository) : base() { _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _customerRepository = customerRepository; _referenceRepository = referenceRepository; _sparepartRepository = sparepartRepository; _vehicleGroupRepository = vehicleGroupRepository; _vehicleRepository = vehicleRepository; }
public InvoiceEditorModel(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, IReferenceRepository referenceRepository, ITransactionRepository transactionRepository, ITransactionDetailRepository transactionDetailRepository, IJournalMasterRepository journalMasterRepository, IUnitOfWork unitOfWork) : base() { _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _transactionRepository = transactionRepository; _transactionDetailRepository = transactionDetailRepository; _journalMasterRepository = journalMasterRepository; _referenceRepository = referenceRepository; _unitOfWork = unitOfWork; }
public FrmInvoice() { InitializeComponent(); SetHeader("Invoice"); invoiceRepository = new InvoiceRepository(); invoiceDetailRepository = new InvoiceDetailRepository(); outletRepository = new OutletRepository(); productRepository = new ProductRepository(); productBindingSource.DataSource = productRepository.GetActiveProduct(); outletBindingSource.DataSource = outletRepository.GetActiveOutlet(); DataGridViewHelper.SetDataGridTheme(dataGridView1); CekKondisi(FormCondition.Ready); isAddNew = false; }
public SalesReturnTransactionListModel(ITransactionRepository transactionRepository, IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ISalesReturnRepository salesReturnRepository, ISalesReturnDetailRepository salesReturnDetailRepository, ISparepartRepository sparepartRepository, ISparepartDetailRepository sparepartDetailRepository, IReferenceRepository referenceRepository, ISparepartStockCardRepository sparepartStockCardRepository, IUnitOfWork unitOfWork) : base() { _transactionRepository = transactionRepository; _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _salesReturnRepository = salesReturnRepository; _salesReturnDetailRepository = salesReturnDetailRepository; _sparepartRepository = sparepartRepository; _sparepartDetailRepository = sparepartDetailRepository; _referenceRepository = referenceRepository; _sparepartStokCardRepository = sparepartStockCardRepository; _unitOfWork = unitOfWork; }
/// <summary> /// Passing data for edit /// </summary> /// <param name="data"></param> public FrmInvoice(object data) { InitializeComponent(); SetHeader("Invoice"); invoiceRepository = new InvoiceRepository(Program.log); invoiceDetailRepository = new InvoiceDetailRepository(Program.log); outletRepository = new OutletRepository(Program.log); productRepository = new ProductRepository(Program.log); productBindingSource.DataSource = productRepository.GetActiveProduct(); outletBindingSource.DataSource = outletRepository.GetActiveOutlet(); DataGridViewHelper.SetDataGridTheme(dataGridView1); CekKondisi(FormCondition.Inputting); invoiceBindingSource.Add(data); isAddNew = false; countBtn.PerformClick(); }
public SPKViewDetailModel(IReferenceRepository referenceRepository, IVehicleRepository vehicleRepository, ISPKRepository SPKRepository, ISPKDetailSparepartRepository SPKDetailSparePartRepository, ISPKDetailSparepartDetailRepository SPKDetailSparepartDetailRepository, ISparepartRepository sparepartRepository, ISparepartDetailRepository sparepartDetailRepository, ISettingRepository settingRepository, IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, IUsedGoodRepository usedGoodrepository, IUsedGoodTransactionRepository usedGoodTransactionRepository, IVehicleWheelRepository vehicleWheelRepository, ISPKScheduleRepository SPKScheduleReposistory, IMechanicRepository mechanicRepository, IWheelExchangeHistoryRepository wheelExchangeHistoryRepository, ISpecialSparepartRepository specialSparepartRepository, ISpecialSparepartDetailRepository specialSparepartDetailRepository, ISparepartStockCardRepository sparepartStockCardRepository, IUnitOfWork unitOfWork) : base() { _referenceRepository = referenceRepository; _vehicleRepository = vehicleRepository; _SPKRepository = SPKRepository; _SPKDetailSparepartRepository = SPKDetailSparePartRepository; _SPKDetailSparepartDetailRepository = SPKDetailSparepartDetailRepository; _sparepartRepository = sparepartRepository; _sparepartDetailRepository = sparepartDetailRepository; _settingRepository = settingRepository; _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _vehicleWheelRepository = vehicleWheelRepository; _usedGoodRepository = usedGoodrepository; _usedGoodTransactionRepository = usedGoodTransactionRepository; _SPKScheduleRepository = SPKScheduleReposistory; _mechanicRepository = mechanicRepository; _wheelExchangeHistoryRepository = wheelExchangeHistoryRepository; _specialSparepartDetailRepository = specialSparepartDetailRepository; _specialSparepartRepository = specialSparepartRepository; _sparepartStokCardRepository = sparepartStockCardRepository; _unitOfWork = unitOfWork; }
public InvoiceDetailModel( ISPKRepository spkRepository, ISPKScheduleRepository spkScheduleRepository, IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, IReferenceRepository referenceRepository, ITransactionRepository transactionRepository, ITransactionDetailRepository transactionDetailRepository, IJournalMasterRepository journalMasterRepository, ISparepartRepository sparepartRepository, IUnitOfWork unitOfWork) : base() { _spkRepository = spkRepository; _spkScheduleRepository = spkScheduleRepository; _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _transactionRepository = transactionRepository; _transactionDetailRepository = transactionDetailRepository; _journalMasterRepository = journalMasterRepository; _referenceRepository = referenceRepository; _sparepartRepository = sparepartRepository; _unitOfWork = unitOfWork; }
public InvoiceDetailDetailController(IInvoiceDetailRepository invoiceDetailResposistory) { _invoiceDetailResposistory = invoiceDetailResposistory; }
public InvoiceDetailService(IInvoiceDetailRepository invoiceDetailRepository) { this.repository = invoiceDetailRepository; }
public InvoiceDetailManager() { repo = new InvoiceDetailRepository(); }
public InvoiceDetailService(IInvoiceDetailRepository InvoiceDetailRepository, IInvoiceRepository invoiceRepository, IUnitOfWork unitOfWork) { _InvoiceDetailRepository = InvoiceDetailRepository; _invoiceRepository = invoiceRepository; this._unitOfWork = unitOfWork; }
public SPKEditorModel(ISettingRepository settingRepository, IReferenceRepository referenceRepository, IVehicleRepository vehicleRepository, ISPKRepository SPKRepository, ISPKDetailSparepartRepository SPKDetailSparePartRepository, ISPKDetailSparepartDetailRepository SPKDetailSparepartDetailRepository, ISparepartRepository sparepartRepository, IUsedGoodRepository usedGoodRepository, IUsedGoodTransactionRepository usedGoodTransactionRepository, ISpecialSparepartDetailRepository specialSparepartDetailRepository, IVehicleWheelRepository vehicleWheelRepository, IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, IWheelExchangeHistoryRepository WheelExchangeHistoryRepository, ISPKScheduleRepository spkScheduleRepository, ISparepartStockCardRepository sparepartStokCardRepository, ISparepartStockCardDetailRepository sparepartStokCardDetailRepository, IVehicleGroupRepository vehicleGroupRepository, IPurchasingDetailRepository purchasingDetailRepository, ISparepartManualTransactionRepository sparepartManualTransaction, ICustomerRepository customerRepository, IBrandRepository brandRepository, IMechanicRepository mechanicRepository, IUnitOfWork unitOfWork) : base( settingRepository, referenceRepository, vehicleRepository, SPKRepository, SPKDetailSparePartRepository, SPKDetailSparepartDetailRepository, sparepartRepository, usedGoodRepository, usedGoodTransactionRepository, specialSparepartDetailRepository, vehicleWheelRepository, invoiceRepository, invoiceDetailRepository, WheelExchangeHistoryRepository, spkScheduleRepository, sparepartStokCardRepository, sparepartStokCardDetailRepository, vehicleGroupRepository, purchasingDetailRepository, sparepartManualTransaction, customerRepository, brandRepository, mechanicRepository, unitOfWork ) { _settingRepository = settingRepository; _referenceRepository = referenceRepository; _vehicleRepository = vehicleRepository; _SPKRepository = SPKRepository; _SPKDetailSparepartRepository = SPKDetailSparePartRepository; _SPKDetailSparepartDetailRepository = SPKDetailSparepartDetailRepository; _sparepartRepository = sparepartRepository; _usedGoodRepository = usedGoodRepository; _specialSparepartDetailRepository = specialSparepartDetailRepository; _vehicleWheelRepository = vehicleWheelRepository; _invoiceRepository = invoiceRepository; _invoiceDetailRepository = invoiceDetailRepository; _SPKScheduleRepository = spkScheduleRepository; _wheelExchangeHistoryRepository = WheelExchangeHistoryRepository; _sparepartStokCardRepository = sparepartStokCardRepository; _sparepartStokCardDetailRepository = sparepartStokCardDetailRepository; _vehicleGroupRepository = vehicleGroupRepository; _purchasingDetailRepository = purchasingDetailRepository; _sparepartManualTransactionRepository = sparepartManualTransaction; _customerRepository = customerRepository; _brandRepository = brandRepository; _mechanicRepository = mechanicRepository; _unitOfWork = unitOfWork; }
public InvoiceDetailService(IInvoiceDetailRepository appsRepository, IUnitofWork unitOfWork) { _roleRepository = appsRepository; _unitOfWork = unitOfWork; }
public InvoiceService(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, IMemoryCache memoryCache) : base(invoiceRepository, memoryCache) { this._invoiceRepository = invoiceRepository; this._invoiceDetailRepository = invoiceDetailRepository; }
public InvoiceDetailsController(IInvoiceRepository invoiceRepository, IProductRepository productRepository, IInvoiceDetailRepository invoicedetailRepository) { this.invoiceRepository = invoiceRepository; this.productRepository = productRepository; this.invoicedetailRepository = invoicedetailRepository; }
public void Init() { invoice = new InvoiceRepository(); invoiceDetail = new InvoiceDetailRepository(); }