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