@using System.ComponentModel.DataAnnotations @using ImageBoardServerApp.Data @using ImageBoardServerApp.Data.Repository /@board.Tag/ - @board.Topic - BulletBoard

@board.Topic Board



Threads


@if (posts != null) { @if (posts.Any()) { @foreach(var post in posts) {
} } } else {

Loading Posts...

} @code { private List posts; protected override async Task OnInitializedAsync() { posts = await PostsRepository.getPostsByBoardAsync(board.Tag); } [Parameter] [Required] public BoardData board { get; set; } }