Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Domain/Agenda.cs @ 119:8fa58a79656a
Historico
author | Nelo@Kenia.neluz.int |
---|---|
date | Wed, 22 Jun 2011 09:49:07 -0300 |
parents | b74734a1a755 |
children | 1e47bf408073 6f1041301797 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Domain/Agenda.cs Wed Jun 22 09:32:59 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Domain/Agenda.cs Wed Jun 22 09:49:07 2011 -0300 @@ -37,6 +37,11 @@ return _eventosRepository.GetActivos() ?? new List<Evento>(); } + public IEnumerable<Evento> GetHistorico() + { + return _eventosRepository.GetByState(EventoPublicadoState.GetInstance()) ?? new List<Evento>(); + } + public Resultado ModificarEvento(Guid eventoId, string titulo, string ponenteNombre, DateTime? fecha, string urlInvitacion) { Evento evento = GetEvento(eventoId);