Пример #1
0
        public Comment CreateComment(long playlistId, string text, string userEmail)
        {
            var comment = new Comment
            {
                Text      = text,
                User      = userRepo.ReadUser(userEmail),
                TimeStamp = DateTime.Now
            };

            return(repo.CreateComment(playlistId, comment));
        }