예제 #1
0
        public List <IAgenda> GetOrCreateAgenda()
        {
            var agendaList = Agendas.GetAll(d => Equals(d.Meeting, _obj)).ToList();

            if (!agendaList.Any() && Docflow.PublicFunctions.Module.Remote.IsModuleAvailableForCurrentUserByLicense(Sungero.Meetings.Constants.Module.MeetingsUIGuid))
            {
                var agenda = Agendas.Create();
                agenda.Meeting = _obj;
                agendaList.Add(agenda);
            }
            return(agendaList);
        }
예제 #2
0
 public static IAgenda CreateAgenda()
 {
     return(Agendas.Create());
 }