public static List <clsCheckOut> GetCheckOut(DateTime datestart, DateTime dateend, int userid) { dbConnect con = new dbConnect(); List <clsCheckOut> lstCheckout = con.GetCheckOut(datestart, dateend, userid); con.Close(); return(lstCheckout); }