Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Blog/Impl/PostWriterFactory.cs @ 74:bc46e7426c80
Refactoring de acciones según la definición del diagrama de estados en assembla
(https://www.assembla.com/spaces/altnet-hispano/wiki/Estados_de_un_evento)
author | nelopauselli |
---|---|
date | Mon, 23 May 2011 20:13:37 -0300 |
parents | ebce59b45b50 |
children | a300394dbabe |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Blog/Impl/PostWriterFactory.cs Mon May 23 19:54:05 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Blog/Impl/PostWriterFactory.cs Mon May 23 20:13:37 2011 -0300 @@ -8,9 +8,9 @@ { switch (accion) { - case Accion.Realizar: + case Accion.Publicar: return new RealizarReunionPostWriter(); - case Accion.Publicar: + case Accion.Agendar: return new PublicarReunionPostWriter(); default: return new NullObjectPostWriter();