Exemplo n.º 1
0
        public RespuestaIdentificador ObtenerIdentificadorUnico(DataIdentificador data)
        {
            log.Info("Obtener identificador unico: " + data);

            try
            {
                return(identificadorDao.ObtenerIdentificadorUnico(validador.Validar(data)));
            }
            catch (BusinessException ex)
            {
                log.Error("Error al consultar identificador unico", ex);
                loggerDao.Agregar(ex.Message, Business.SERVICIO_IDENTIFICADOR + ex.Code);
                return(ResponseFactory.CreateErrorIdentifyResponse(ex.Message, Business.SERVICIO_IDENTIFICADOR + ex.Code));
            }
        }