Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Web/Models/PersonaModel.cs @ 260:8a2a58b5e2d6
Ticket #193: Validar mail, validar urls de personas.
author | juanjose.montesdeocaarbos |
---|---|
date | Thu, 20 Oct 2011 08:27:52 -0300 |
parents | e6c041d8e1bf |
children | 5ddc574deeea |
comparison
equal
deleted
inserted
replaced
259:e6c041d8e1bf | 260:8a2a58b5e2d6 |
---|---|
20 [Required] | 20 [Required] |
21 [CustomValidation(typeof(PersonaValidation), "IsTwitterAccount")] | 21 [CustomValidation(typeof(PersonaValidation), "IsTwitterAccount")] |
22 public string Twitter { get; set; } | 22 public string Twitter { get; set; } |
23 | 23 |
24 [Required] | 24 [Required] |
25 [Email] | 25 [Email ] |
26 public string EMail { get; set; } | 26 public string EMail { get; set; } |
27 | 27 |
28 [Url] | 28 [Url ] |
29 public string Blog { get; set; } | 29 public string Blog { get; set; } |
30 | 30 |
31 public string[] Roles { get; set; } | 31 public string[] Roles { get; set; } |
32 } | 32 } |
33 | 33 |