public static bool Delete(int expenseid) { dbConnect con = new dbConnect(); bool ret = con.DeleteExpenses(expenseid); con.Close(); return(ret); }