Пример #1
0
 public Participante BuscaPorNome(string nomeParticipante)
 {
     if (_participanteRepository.BuscaPorNome(nomeParticipante) == null)
     {
         _participanteRepository.Add(new Participante()
         {
             Nome = nomeParticipante
         });
     }
     return(_participanteRepository.BuscaPorNome(nomeParticipante));
 }