/// <summary>
        ///
        ///
        /// </summary>
        /// <param name="fromdate"></param>
        /// <param name="toDate"></param>
        /// <param name="adminID"></param>
        /// <returns></returns>
        public int AddBGCSchedule(DateTime fromdate, DateTime toDate, int adminID)
        {
            IBGCTestSchedule sch = new BGCTestScheduleFactory().CreateSchedule(fromdate, toDate, adminID);

            IBGCScheduleDB sdb = new BGCScheduleDBFactory().CreateBGCScheduleDB();

            return(sdb.AddBGCSchedule(sch));
        }
        /// <summary>
        ///
        ///
        /// </summary>
        /// <returns></returns>
        public SortedList <int, IBGCTestSchedule> GetScheduleList()
        {
            IBGCScheduleDB sdb = new BGCScheduleDBFactory().CreateBGCScheduleDB();

            return(sdb.GetScheduleList());
        }