public void WithdrawFromTD() { if (cust.accounts.Contains(tempDep)) { tempDep.ExtractMoney(); } else { Console.WriteLine("You dont have a temporary deposit!"); } }
public void WithdrawFromTD() { if (cust.accounts.Contains(tempDep)) { DateTime time = DateTime.Now; Console.WriteLine($"Just extract money from tempDep!"); tempDep.ExtractMoney(); } else { Console.WriteLine("You dont have a temporary deposit!"); } }