public Mensaje CrearConstante(VerConstanteModelView Const)
        {
            Mensaje mensaje = new Mensaje();

            try
            {
                using (DbContextTransaction Transaccion = context.Database.BeginTransaction())
                {
                    try
                    {
                        context.SP_I_Constante(
                            Const.IdPadre,
                            Const.Constante,
                            Const.Descripcion,
                            Const.CodigoAgrupador,
                            Const.Orden,
                            Const.Tag,
                            Const.IdEstado
                            );

                        context.SaveChanges();
                        Transaccion.Commit();
                        mensaje.esError = false;
                    }
                    catch (Exception ex)
                    {
                        Transaccion.Rollback();
                        throw ex;
                    }
                }
            }
            catch (Exception ex)
            {
                mensaje.esError = true;
                mensaje.mensaje = ex.Message;
            }
            return(mensaje);
        }