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)); }
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)); }