/// <summary>
 /// DeleteAttendeeCommand execution method
 /// </summary>
 /// <param name="param"></param>
 private void DeleteAttendeeCommandMethod(object param)
 {
     if (param is MeetingMinuteData)
     {
         MeetingMinuteData deletionAttendeeData = param as MeetingMinuteData;
         ClosedForVotingMeetingMinuteInfo = ClosedForVotingMeetingMinuteInfo
                                            .Where(record => record.Name != deletionAttendeeData.Name).ToList();
     }
 }
 /// <summary>
 /// SaveCommand execution method
 /// </summary>
 /// <param name="param"></param>
 private void SaveCommandMethod(object param)
 {
     foreach (MeetingMinuteData meetingMinuteData in ClosedForVotingMeetingMinuteDistinctAttendanceInfo)
     {
         List <MeetingMinuteData> voterSpecificMeetingMinuteData = ClosedForVotingMeetingMinuteInfo
                                                                   .Where(record => record.Name == meetingMinuteData.Name).ToList();
         foreach (MeetingMinuteData voterMeetingMinuteData in voterSpecificMeetingMinuteData)
         {
             voterMeetingMinuteData.AttendanceType = meetingMinuteData.AttendanceType;
         }
     }
     if (dbInteractivity != null)
     {
         BusyIndicatorNotification(true, "Updating Meeting Minute Details");
         dbInteractivity.UpdateMeetingMinuteDetails(GreenField.UserSession.SessionManager.SESSION.UserName, SelectedClosedForVotingMeetingInfo,
                                                    ClosedForVotingMeetingMinuteInfo, UpdateMeetingMinuteDetailsCallbackMethod);
     }
 }
        /// <summary>
        /// AddAttendeeCommand execution method
        /// </summary>
        /// <param name="param"></param>
        private void AddAttendeeCommandMethod(object param)
        {
            List <String> validUsers = UserInfo.OrderBy(record => record.UserName)
                                       .Select(record => record.UserName.ToLower()).ToList();

            ChildViewPresentationMeetingMinutesAddAttendee cvPresentationMeetingMinutesAddAttendee =
                new ChildViewPresentationMeetingMinutesAddAttendee(validUsers);

            cvPresentationMeetingMinutesAddAttendee.Show();
            cvPresentationMeetingMinutesAddAttendee.Unloaded += (se, e) =>
            {
                if (cvPresentationMeetingMinutesAddAttendee.DialogResult.Equals(true))
                {
                    if (ClosedForVotingMeetingMinuteInfo.Any(record => record.Name.ToLower() ==
                                                             cvPresentationMeetingMinutesAddAttendee.SelectedUser))
                    {
                        return;
                    }
                    List <MeetingMinuteData> closedForVotingMeetingMinuteInfo = new List <MeetingMinuteData>(ClosedForVotingMeetingMinuteInfo);

                    foreach (MeetingMinuteData item in ClosedForVotingMeetingMinuteDistinctPresentationInfo)
                    {
                        closedForVotingMeetingMinuteInfo.Add(new MeetingMinuteData()
                        {
                            PresentationID   = item.PresentationID,
                            Presenter        = item.Presenter,
                            SecurityName     = item.SecurityName,
                            SecurityTicker   = item.SecurityTicker,
                            SecurityCountry  = item.SecurityCountry,
                            SecurityIndustry = item.SecurityIndustry,
                            Name             = cvPresentationMeetingMinutesAddAttendee.SelectedUser,
                            AttendanceType   = cvPresentationMeetingMinutesAddAttendee.SelectedAttendanceType
                        });
                    }
                    ClosedForVotingMeetingMinuteInfo = closedForVotingMeetingMinuteInfo;
                }
            };
        }