public void deleteCommentById(int id)
 {
     CommentsRepository repo = new CommentsRepository(entities);
     Comment comment = repo.GetCommentById(id);
     repo.DeleteComment(comment);
 }