public void ViewLikesExecute() { try { OtherLikesView otherLikes = new OtherLikesView(Post); otherLikes.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public OtherLikesViewModel(OtherLikesView otherLikesView, vwPost post) { this.otherLikesView = otherLikesView; Post = post; UserList = posts.UsersWhoLikedPost(Post); }