public Agenda GetMaxOrderByMeeting(AgendaQueryOptions queryOption)
 {
     throw new NotImplementedException();
 }
 public Agenda GetMaxOrderForAgenda(AgendaQueryOptions queryOption)
 {
     throw new NotImplementedException();
 }
 public Agenda GetMaxOrderForAgenda(AgendaQueryOptions queryOption)
 {
     return(_meetingDbContext.MM_Agendas.ToList().Where(
                x => x.MeetingId == queryOption.MeetingId && x.HeadingId == queryOption.AgendaId && x.OrderId == _meetingDbContext.MM_Agendas.ToList().Where(y => y.MeetingId == queryOption.MeetingId && y.HeadingId == queryOption.AgendaId).Max(y => y.OrderId).GetValueOrDefault()).FirstOrDefault().ConvertToAgendas());
 }