예제 #1
0
        public List <RequiredEventMeeting> getMeetingToSignUP(int reqID, int orgID)
        {
            List <RequiredEventMeeting> meetings = new List <RequiredEventMeeting>();
            var meet = dataContext.sp_GetMeetingForOrgTOSignedUP(reqID, orgID);

            foreach (var x in meet)
            {
                RequiredEventMeeting meeting = new RequiredEventMeeting();
                meeting.RequiredEventID   = x.RequiredEventID;
                meeting.Session           = x.Session;
                meeting.Year              = x.Year;
                meeting.MeetingBuilding   = x.MeetingBuilding;
                meeting.MeetingDate       = x.MeetingDate;
                meeting.MeetingID         = x.MeetingID;
                meeting.MeetingRoomNumber = x.MeetingRoomNumber;
                meeting.MeetingTime       = x.MeetingTime;

                meetings.Add(meeting);
            }
            return(meetings);
        }