Ejemplo n.º 1
0
        public async Task Send(int newsId, int userId, string comment, string userName)
        {
            var commentId = await CommentaryManager.SaveComment(comment, userId, newsId, userName);

            Clients.All.addNewCommentToPage(commentId, userName, comment, DateTime.Now.ToString());
        }