public static List <Run> listAvailableRuns(DateTime start, DateTime end) { List <Run> runs = new List <Run>(); ReservationDB db = new ReservationDB(); foreach (DataRow row in db.listAvailableRunsDB(start, end).Tables["hvk_runsAvail"].Rows) { runs.Add(convertToRun(row)); } return(runs); }