Exemple #1
0
        public void Inserir(ParticipanteModelView participanteModelView)
        {
            var participante     = new Participante();
            var _participanteDAO = new ParticipanteDAO();

            participante = RetornaParticipante(participanteModelView, participante);
            _participanteDAO.Inserir(participante);
        }
Exemple #2
0
        public void Insert(ParticipanteModelView participanteModelView)
        {
            var evento       = new Evento();
            var participante = new Participante();

            participante = PrepararParticipante(participanteModelView, participante, evento);

            var participanteDAO = new ParticipanteDAO();

            participanteDAO.Inserir(participante);
        }