private void Like(object sender, RoutedEventArgs e) { postRepository.UpdateLikes(currentPost.Id, true); }