public static IAsyncOperation <IUICommand> ShowErrorDialog(this ApiException ex) { return(new MessageDialog(ex.ErrorMessage()).ShowAsync()); }