public void NewComment(Comment comment) { comment.Date = DateTime.Now; var repo = new BlogsRepository(_connectionString); repo.AddComment(comment); }