public TimeCollections SelectList()
        {
            TimeCollections collection = new TimeCollections();
            IDataReader     Reader     = DataAccess.SelectList();

            while (Reader.Read())
            {
                TimeScheduleInfo timeinfo = new TimeScheduleInfo();

                timeinfo.TimeID      = Convert.ToString(Reader["TimeID"]);
                timeinfo.Time        = Convert.ToString(Reader["Time"]);
                timeinfo.Description = Convert.ToString(Reader["Description"]);
                collection.Add(timeinfo);
            }
            Reader.Close();
            return(collection);
        }
 public void UpdateByTimeID(TimeScheduleInfo timeInfo)
 {
     DataAccess.UpdateByTimeID(timeInfo.TimeID, timeInfo.Time, timeInfo.Description);
 }
 public void Insert(TimeScheduleInfo timeInfo)
 {
     DataAccess.Insert(timeInfo.TimeID, timeInfo.Time, timeInfo.Description);
 }