public IActionResult CreateComment(CourseComment comment) { comment.IsDelete = false; comment.CreatedDate = DateTime.Now; comment.UserId = _userService.GetUserIdByUserName(User.Identity.Name); _courseSerervice.AddComments(comment); return(View("ShowComment", _courseSerervice.GetCoruseComment(comment.CourseId))); }