Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Web/Controllers/EventoController.cs @ 217:c4c60e034103 deploy 2011-09-06
sugerencia de recordatorios
author | nelopauselli |
---|---|
date | Tue, 06 Sep 2011 18:09:43 -0300 |
parents | 6944c54f834f |
children | f23ee59ef1bd |
comparison
equal
deleted
inserted
replaced
216:8a8c35302b81 | 217:c4c60e034103 |
---|---|
1 using System; | 1 using System; |
2 using System.Linq; | 2 using System.Linq; |
3 using System.Web.Mvc; | 3 using System.Web.Mvc; |
4 using AltNetHispano.Agendas.Domain; | 4 using AltNetHispano.Agendas.Domain; |
5 using AltNetHispano.Agendas.Factories; | 5 using AltNetHispano.Agendas.Factories; |
6 using AltNetHispano.Agendas.Twitter; | |
6 using AltNetHispano.Agendas.Web.Models; | 7 using AltNetHispano.Agendas.Web.Models; |
7 | 8 |
8 namespace AltNetHispano.Agendas.Web.Controllers | 9 namespace AltNetHispano.Agendas.Web.Controllers |
9 { | 10 { |
10 public class EventoController : Controller | 11 public class EventoController : Controller |
72 var evento = agenda.GetEvento(new Guid(id)); | 73 var evento = agenda.GetEvento(new Guid(id)); |
73 | 74 |
74 var model = new EventoConfirmModel | 75 var model = new EventoConfirmModel |
75 { | 76 { |
76 Id = id, | 77 Id = id, |
77 Titulo = evento.Titulo/*, | 78 Titulo = evento.Titulo, |
78 Mensaje = "Recuerde agendar los eventos en http://twuffer.com/ u otro servicio similar."*/ | 79 Recordatorios = new Recordatorios(evento) |
79 }; | 80 }; |
80 return View("Defaulteditor", model); | 81 return View("Defaulteditor", model); |
81 } | 82 } |
82 | 83 |
83 [HttpPost] | 84 [HttpPost] |