public RefillingReturnPaymentPresenter(IRefillReturnPaymentView m_view) { this.m_view = m_view; m_customerDao = new CustomerDao(); m_refillDao = new RefillDao(); m_refillReportDao = new RefillReportDao(); m_custInvDao = new RefillCustomerInventoryDao(); m_daysummaryDao = new RefillDaySummaryDao(); m_invDao = new RefillInventoryDao(); customer = new CustomerDataEntity(); custInv = new RefillCustInventoryHeaderDataEntity(); }
public RefillingViewPresenter(IRefillingView p_view, IRefillDao p_refillDao) { this.m_view = p_view; this.m_refillDao = p_refillDao; this.m_transTypeDao = new RefillTransactionTypeDao(); this.m_customerDao = new CustomerDao(); this.m_productDao = new RefillProductTypeDao(); m_summaryDao = new RefillDaySummaryDao(); m_customerInvDao = new RefillCustomerInventoryDao(); m_refillInvDao = new RefillInventoryDao(); m_refillInvDetailDao = new RefillInventoryDetailDao(); m_printerDao = new PrinterDao(); m_companyDao = new CompanyDao(); }