public void ReiseBalanceFromTerminal(object sender, ReiseBalanceEventArgs e) { OnReiseBalanceConnectEvent(e.Money, e.OutgoingPhoneNumber); }
private void ReiseBalance(object sender, ReiseBalanceEventArgs e) { _contracts.Keys.Where(x => x.Number == e.OutgoingPhoneNumber).First().ChangeBalance(e.Money); }