public BankAccountManager(IBankAccounts bankAccounts, IBankAccountDao bankAccountDao, IWasteBook wasteBook, Guid elseFilialeId) { _bankAccountDao = bankAccountDao; _bankAccounts = bankAccounts; _wasteBookDao = wasteBook; _reckoningElseFilialeid = elseFilialeId == Guid.Empty ? new Guid(ConfigManage.GetConfigValue("RECKONING_ELSE_FILIALEID")) : elseFilialeId; }
public BankAccountManager(Environment.GlobalConfig.DB.FromType fromType) { _bankAccountDao = InventoryInstance.GetBankAccountDao(fromType); _bankAccounts = InventoryInstance.GetBankAccountsDao(fromType); _wasteBookDao = InventoryInstance.GetWasteBookDao(fromType); _reckoningElseFilialeid = new Guid(ConfigManage.GetConfigValue("RECKONING_ELSE_FILIALEID")); }