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); }
public static IAgenda CreateAgenda() { return(Agendas.Create()); }