public SimulationAccount GetAccount(string id) { if (Debts.TryGetValue(id, out var debt)) { return(debt); } if (Accounts.TryGetValue(id, out var account)) { return(account); } return(null); }
private ISimulationBill GetBill(string id) { if (Bills.TryGetValue(id, out var bill)) { return(bill); } if (Debts.TryGetValue(id, out var debt)) { return(debt); } return(null); }