@page "/blog" @using TaxBaik.Application.Services @inject BlogService BlogService 블로그 세무 블로그 최신 세법 변화와 실무 팁을 확인하세요. @if (posts is null) { } else if (posts.Count == 0) { 게시물이 없습니다. } else { @foreach (var post in posts) { @post.CategoryName @post.Title @(post.PublishedAt ?? post.CreatedAt).ToString("yyyy-MM-dd") 글 내용 보기 } } @code { private List? posts; protected override async Task OnInitializedAsync() { var (items, _) = await BlogService.GetPublishedPagedAsync(1, 12); posts = items.ToList(); } }
최신 세법 변화와 실무 팁을 확인하세요.
게시물이 없습니다.
@(post.PublishedAt ?? post.CreatedAt).ToString("yyyy-MM-dd")