private void ButtonUpdate_Click(object sender, RoutedEventArgs e) { if (_crudManager.selectedBlog != null) { _crudManager.UpdateABlog(_crudManager.selectedBlog.BlogId, BlogUrl.Text, BlogAuthorField.Text); PopulateBlogFields(); } }