@page @using Models; @using System.Globalization @using System.Security.Claims; @model WebApp.Pages.ComplaintModel @{ Complaint complaint = (Complaint)ViewData["complaint"]; ViewData["Title"] = $"{complaint.Title}"; }
Filed @complaint.PublishDate.ToString("g") by @complaint.Author.Name
@complaint.Status - @complaint.Severity
@Html.Raw(complaint.Description.Replace(Environment.NewLine, "
"))
No comments found
} else { foreach (Comment comment in complaint.Responses) { DisplayComment(comment, 0); } } Add reply @{ void DisplayComment(Comment comment, int level) {@Html.Raw(comment.Description.Replace(Environment.NewLine, "
"))