private async void UninstallCommands_Click(object sender, RoutedEventArgs e)
{
try
{
var storageFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///UninstallCommands.xml"));
await AIService.InstallVoiceCommands(storageFile);
parametersTextBlock.Text = "Voice commands uninstalled";
}
catch (Exception ex)
{
Debug.WriteLine(ex);
resultTextBlock.Text = ex.ToString();
}
}