Created
June 20, 2011 17:39
-
-
Save waldyrfelix/1036098 to your computer and use it in GitHub Desktop.
Exemplo de ViewModel para ASP.NET MVC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MatriculaViewModel | |
{ | |
public SelectList Turmas { get; set; } | |
public int? TurmaSelecionada { get; set; } | |
public DateTime DataDaMatricula { get; set; } | |
[Required] | |
public string NomeDoAluno { get; set; } | |
[Required] | |
public string CPFDoAluno { get; set; } | |
[Required] | |
public string EmailDoAluno { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment