Esempio n. 1
0
        private async void AppBarButton_Click_4(object sender, RoutedEventArgs e)
        {
            int result = await PostManagement.ReportAbuse(post.postID);

            if (result == 0)
            {
                MessageDialog dlg = new MessageDialog("Post successfully reported", "Success!");
                await dlg.ShowAsync();

                //post = await Posts.GetActivity(post.postID); //
            }
        }