public IHttpActionResult ActualizarEntorno(decimal id, TR_entorno entorno)
        {
            var resultado = validaciones.ActualizarEntorno(id, entorno);

            if (resultado == "OK")
            {
                return(Ok("Entorno actualizado"));
            }
            return(BadRequest(resultado));
        }