public IActionResult CreateComment(ReportComment reportcomment) { reportcomment.IsDeleted = false; reportcomment.IsAdminRead = false; reportcomment.CreateDate = DateTime.Now; reportcomment.UserID = _userService.GetUserIDByUserName(User.Identity.Name); _reportService.AddComment(reportcomment); return(View("ShowComment", _reportService.ReportComments(reportcomment.ReportID))); }