public void RecycleItems(ItemId itemId, int amount) { RecycleInventoryItemResponse res = _apiInventory.RecycleItem(itemId, amount).GetAwaiter().GetResult(); if (res.Result != RecycleInventoryItemResponse.Types.Result.Success) { throw new Exception("Unable to recycle item"); } }