Пример #1
0
 private static void ValidateEmail(this ReportModel model)
 {
     Check.NotEmpty(model.Email, ReportsMessages.InformeOEmail);
     model.Email.ValidarEmail();
 }
Пример #2
0
 private static void ValidateArquivo(this ReportModel model)
 {
     Check.NotEmpty(model.Arquivo, ReportsMessages.InformeOArquivo);
 }