public void eliminar_item(int id) { ic = dm.GetinventarioCollection(); inventario i = ic.FindByid(id); i.Delete(); dm.CommitAll(); }