comparison Agendas/trunk/src/Agendas.Domain/Evento.cs @ 81:c76661cff260

Workflow de acciones sobre un evento (camino feliz)
author nelopauselli
date Tue, 24 May 2011 19:21:20 -0300
parents c2d98fd6593f
children 26d0513a8410
comparison
equal deleted inserted replaced
80:c2d98fd6593f 81:c76661cff260
125 { 125 {
126 Titulo = titulo; 126 Titulo = titulo;
127 AddTracks(new Track(this, Accion.CambiarTitulo)); 127 AddTracks(new Track(this, Accion.CambiarTitulo));
128 } 128 }
129 129
130 public virtual void Confirmar()
131 {
132 AddTracks(new Track(this, Accion.Confirmar));
133 }
134
135 public virtual void Publicar()
136 {
137 AddTracks(new Track(this, Accion.Publicar));
138 }
139
130 #endregion 140 #endregion
131 141
132 private void AddTracks(Track track) 142 private void AddTracks(Track track)
133 { 143 {
134 _tracks.Add(track); 144 _tracks.Add(track);
135 } 145 }
146
136 } 147 }
137 } 148 }