Support for nested comments

This commit is contained in:
Dimitar Byalkov
2023-05-01 06:04:47 +02:00
parent 55a2319405
commit 913bb39ba8
4 changed files with 82 additions and 15 deletions

View File

@@ -9,8 +9,10 @@ namespace StudentHouseDashboard.Models
{
public Comment(int id, User author, string description, string title, DateTime publishDate) : base(id, author, description, title, publishDate)
{
Responses = new List<Comment>();
}
public List<Comment> Responses { get; set; }
public void DownVote()
{
throw new NotImplementedException();