Example #1
0
        public void AddComment(int id, CommentDTO comment)
        {
            string login = HttpContext.Session.GetString("User_Login");

            comment.Login = login;
            CommentsService service = new CommentsService(services);

            service.AddTrainingComment(comment, id);
        }