Exemplo n.º 1
0
 public List <BlogPostModel> GetAllBlogPosts()
 {
     return(blogPostService.GetAllBlogPosts());
 }
Exemplo n.º 2
0
        protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();

            ViewModel = await BlogPostService.GetAllBlogPosts();
        }