Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Domain/Evento.cs @ 231:e5959f3405e0
Eventos sin ponentes
author | nelopauselli |
---|---|
date | Wed, 28 Sep 2011 20:02:44 -0300 |
parents | 33976aea7546 |
children | c61954d24c8c |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Domain/Evento.cs Wed Sep 28 19:19:33 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Domain/Evento.cs Wed Sep 28 20:02:44 2011 -0300 @@ -100,7 +100,7 @@ public virtual IEnumerable<Persona> Ponentes { - get { return new List<Persona> {Ponente}.Union(OtrosPonentes); } + get { return Ponente != null ? new List<Persona> {Ponente}.Union(OtrosPonentes) : OtrosPonentes; } } public virtual void ActualizarOtrosPonentes(IEnumerable<Persona> otrosPonentes)