private static void Call(UserAccount user, UserAccount user2) { user.Call(user.Terminals.ElementAt(0), user2.Terminals.ElementAt(0).Number); Thread.Sleep(1000); user.EndCall(user.Terminals.ElementAt(0)); }
private static void Call(UserAccount user, int number) { user.Call(user.Terminals.ElementAt(0), number); }