Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Controllers/EventoController.cs @ 75:96d7609f2e08
Agendar evento propuesto
author | nelopauselli |
---|---|
date | Mon, 23 May 2011 20:43:01 -0300 |
parents | bc46e7426c80 |
children | 2adf55ea9199 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Controllers/EventoController.cs Mon May 23 20:13:37 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Controllers/EventoController.cs Mon May 23 20:43:01 2011 -0300 @@ -14,7 +14,7 @@ var model = new EventoIndexModel { - ProximosEventos = from e in agenda.GetEventosPublicados() + ProximosEventos = from e in agenda.GetEventosAgendados() select new EventoDto { Id = e.Id.ToString(), Titulo = e.Titulo } }; @@ -72,7 +72,7 @@ { var agenda = AgendaFactory.GetAgenda(); - var r =agenda.ModificarEvento(new Guid(model.Id), model.Titulo, model.Ponente, model.Fecha); + var r =agenda.ModificarEvento(new Guid(model.Id), model.Titulo, model.Ponente, model.Fecha.Value , model.UrlInvitacion); if (r.Succeful) return RedirectToAction("Index"); ModelState.AddModelError("error", r.ToString());