private void CmdArtistDelete_Click(object sender, RoutedEventArgs e) { var result = RestClientHelper.DeleteRequest("v1/artist/1"); this.RtbResult.Document.Blocks.Clear(); this.RtbResult.Document.Blocks.Add(new Paragraph(new Run(result))); }