Esempio n. 1
0
 private void ButtonUpdatePost_Click(object sender, RoutedEventArgs e)
 {
     if (_crudManager.selectedPost != null)
     {
         _crudManager.UpdateAPost(_crudManager.selectedPost.PostId, TextpostTitle.Text, TextpostContent.Text);
         PopulatePostFields();
     }
 }