Esempio n. 1
0
 public GroupAccountController(IErrorLog errorLog, IGroupAccountRepository groupRepository, IMerchantDataRepository merchantDataRepository)
     : base(errorLog, merchantDataRepository)
 {
     _errorLog            = errorLog;
     _groupAccountContext = groupRepository;
     CurrentCompanyId     = MerchantContext.CompanyDetails.Id;
 }
 public LedgerAccountController(IErrorLog iErrorLog, ILedgerAccountRepository ledgerAccountRepository, IGroupAccountRepository groupAccountRepository,
                                IMerchantDataRepository merchantDataRepository, IAccountingRepository accountingRepository)
     : base(iErrorLog, merchantDataRepository)
 {
     _errorLog = iErrorLog;
     _ledgerAccountRepository = ledgerAccountRepository;
     _accountingRepository    = accountingRepository;
     _groupAccountRepository  = groupAccountRepository;
     CurrentCompanyId         = MerchantContext.CompanyDetails.Id;
 }