Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Blog/Impl/PostWriter.cs @ 100:cc91817a4206
Merge
author | jorge.rowies |
---|---|
date | Sat, 04 Jun 2011 22:46:06 -0300 |
parents | 3027c64344bd db4b1e2cae49 |
children | 1d820f17fc75 |
comparison
equal
deleted
inserted
replaced
99:3027c64344bd | 100:cc91817a4206 |
---|---|
23 | 23 |
24 protected abstract string GetTitle(Evento evento); | 24 protected abstract string GetTitle(Evento evento); |
25 | 25 |
26 protected string GetNombreUsuario(Evento evento) | 26 protected string GetNombreUsuario(Evento evento) |
27 { | 27 { |
28 return evento.Tracks.Single(t => t.Accion == Accion.Publicar).Usuario; | 28 return evento.Tracks.Single(t => t.Accion == Accion.Publicar).Usuario.Nombre; |
29 } | 29 } |
30 | 30 |
31 protected void ExecuteService(string title, string body, string author) | 31 protected void ExecuteService(string title, string body, string author) |
32 { | 32 { |
33 _postWriterWebService.WriteBlogPost(title, body, author, true); | 33 _postWriterWebService.WriteBlogPost(title, body, author, true); |