feat: started working on thread view

This commit is contained in:
limited_dev 2023-01-25 17:26:21 +01:00
parent 6b919e0b7b
commit 585440d10f
5 changed files with 12 additions and 6 deletions

View file

@ -31,7 +31,7 @@ public class PostData
[Required]
public string Content { get; set; }
public string Interactions { get; set; }
public int Interactions { get; set; }
[Required]
public long CreatedAt { get; set; }

View file

@ -16,6 +16,7 @@ public static class PostsRepository
return await db.Posts
.Where(post => post.Board.Equals(board))
.Include(post => post.Image)
.Include(post => post.Comments)
.ToListAsync();
}