//TODO actual order history form private async void buttonOrderHistory_Click(object sender, EventArgs e) { var orderHistory = await _apiHandler.GetOrderHistoryAsync((string)_cache.Get(UserDataEnum.Email)); var json = JsonConvert.SerializeObject(orderHistory); MessageBox.Show(json, "Order history", MessageBoxButtons.OK, MessageBoxIcon.Information); }