Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Models/PerfilModel.cs @ 179:1deccd6c3cb2
Aplicando seguridad x roles en sitio web
author | nelopauselli |
---|---|
date | Mon, 08 Aug 2011 15:24:26 -0300 |
parents | 97e51ddeeb58 |
children |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Models/PerfilModel.cs Mon Aug 08 12:30:37 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Models/PerfilModel.cs Mon Aug 08 15:24:26 2011 -0300 @@ -24,6 +24,21 @@ public IEnumerable<CuentaDto> Cuentas { get; set; } } + public class PerfilEditModel + { + [Required] + public string Nombre { get; set; } + + [Required] + public string Twitter { get; set; } + + [Required] + public string EMail { get; set; } + + [DataType(DataType.Url)] + public string Blog { get; set; } + } + public class CuentaDto { public string IdentityProvider { get; set; }