diff 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
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Domain/Evento.cs	Tue May 24 18:25:57 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Domain/Evento.cs	Tue May 24 19:21:20 2011 -0300
@@ -127,11 +127,22 @@
 			AddTracks(new Track(this, Accion.CambiarTitulo));
 		}
 
+		public virtual void Confirmar()
+		{
+			AddTracks(new Track(this, Accion.Confirmar));
+		}
+
+		public virtual void Publicar()
+		{
+			AddTracks(new Track(this, Accion.Publicar));
+		}
+
 		#endregion
 
 		private void AddTracks(Track track)
 		{
 			_tracks.Add(track);
 		}
+
 	}
 }
\ No newline at end of file