private async Task DeleteService() { ls.LblLoading.Text = "Deleting"; ls.Show(); bool success = await serviceApi.DeleteService(service.Id); ls.Close(); if (success == false) { MessageBox.Show("Fail!"); } }