BB.BL.PlaylistManager.CreateComment C# (CSharp) Метод

CreateComment() публичный Метод

public CreateComment ( long playlistId, string text, string userEmail ) : Comment
playlistId long
text string
userEmail string
Результат BB.BL.Domain.Playlists.Comment
        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);
        }