public Models.Meeting.MeetingScheduleModel GetMeetingScheduleByID(int MeetingScheduleID)
        {
            BusinessLogic.Meeting.MeetingScheduleManager MeetingScheduleManager = new BusinessLogic.Meeting.MeetingScheduleManager();
            BusinessEntity.Meeting.MeetingScheduleEntity MeetingSchedule        = MeetingScheduleManager.GetMeetingScheduleByID(MeetingScheduleID);

            return(new Models.Meeting.MeetingScheduleModel(MeetingSchedule));
        }
        public List <Models.Meeting.MeetingScheduleModel> GetMeetingSchedules()
        {
            BusinessLogic.Meeting.MeetingScheduleManager MeetingScheduleManager = new BusinessLogic.Meeting.MeetingScheduleManager();

            List <BusinessEntity.Meeting.MeetingScheduleEntity> MeetingSchedules      = MeetingScheduleManager.GetMeetingSchedules();
            List <Models.Meeting.MeetingScheduleModel>          MeetingScheduleModels = new List <Models.Meeting.MeetingScheduleModel>();

            foreach (BusinessEntity.Meeting.MeetingScheduleEntity MeetingSchedule in MeetingSchedules)
            {
                MeetingScheduleModels.Add(new Models.Meeting.MeetingScheduleModel(MeetingSchedule));
            }

            return(MeetingScheduleModels);
        }
        public BusinessEntity.Result DeleteMeetingSchedule(Models.Meeting.MeetingScheduleModel MeetingSchedule)
        {
            BusinessEntity.Result result = new BusinessEntity.Result();
            try
            {
                BusinessLogic.Meeting.MeetingScheduleManager MeetingScheduleManager = new BusinessLogic.Meeting.MeetingScheduleManager();
                result = MeetingScheduleManager.DeleteMeetingSchedule(MeetingSchedule.MapToEntity <BusinessEntity.Meeting.MeetingScheduleEntity>());

                return(result);
            }
            catch (Exception ex)
            {
                result.Status  = false;
                result.Message = "MeetingSchedule delete failed.";

                return(result);
            }
        }