diff Agendas/trunk/src/Agendas.Domain/Track.cs @ 57:3d9e6d56d903

Refactoring del track de cambios de un evento
author nelopauselli
date Mon, 16 May 2011 20:23:31 -0300
parents
children 37d99d239cae
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Domain/Track.cs	Mon May 16 20:23:31 2011 -0300
@@ -0,0 +1,24 @@
+namespace AltNetHispano.Agendas.Domain
+{
+	public class Track
+	{
+		public Track(string accion)
+		{
+			Usuario = IdentityContext.GetUserName();
+			Accion = accion;
+		}
+
+		public string Accion { get; private set; }
+		protected string Usuario { get; private set; }
+	}
+
+	public class Accion
+	{
+		public const string Proponer = "Proponer";
+		public const string Publicar = "Publicar";
+		public const string Modificar = "Modificar";
+		public const string CambiarTitulo = "CambiarTitulo";
+		public const string Realizar = "Realizar";
+	}
+
+}
\ No newline at end of file