public static double GetInitialCash(DateTime date, string username) { dbConnect con = new dbConnect(); double amount = con.GetInitialCash(date, username); con.Close(); return(amount); }