private void CadastrarComentario(Comment comment) { comment.User = User.Identity.Name; comment.createdAt = DateTime.Now; commentsRepository.Adicionar(comment); }
private void CadastrarComentario(Comment comment) { comment.User = User.Identity.Name; comment.createdAt = DateTime.Now; commentsRepository.Adicionar(comment); }