示例#1
0
        public void Gravar(TipoEvento tipoEvento)
        {
            var tipoEventoQuery = _tipoEventoRepository.Obter(tipoEvento.Id);

            if (tipoEventoQuery == null)
            {
                Registrar(tipoEvento);
            }
            else
            {
                Atualizar(tipoEvento);
            }

            ValidarComando();
        }