changeset 114:1ce71844ffa4

Ups, me habia olvidado del return.
author Carlos Peix
date Sat, 11 Jun 2011 12:50:44 -0300
parents 0eac9a1c1a6c
children 7a2eeb9e9bf9 c3573defd18f
files Agendas/trunk/src/Agendas.Web/Controllers/PerfilController.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Controllers/PerfilController.cs	Sat Jun 11 12:44:47 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/Controllers/PerfilController.cs	Sat Jun 11 12:50:44 2011 -0300
@@ -90,7 +90,7 @@
 				{
 					var personaService = AgendaFactory.GetPersonaService();
 					personaService.AddCuenta(IdentityProviderEnum.BuiltIn, model.UserName);
-					RedirectToAction("Index");
+					return RedirectToAction("Index");
 				}
 				ModelState.AddModelError("", "The user name or password provided is incorrect.");
 			}