public ID GetAbrirCaja(string id)
        {
            int ret          = -1;
            int idinventario = 0;

            int.TryParse(id, out idinventario);
            if (idinventario == 0)
            {
                throw new HttpResponseException(HttpStatusCode.NotFound);
            }

            if (ClassBD.AbrirCaja(idinventario))
            {
                ret = 0;
            }
            return(new ID(ret));
        }