Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private List<Post> _posts = new List<Post>();
- protected override async Task OnInitializedAsync() => await GetPosts();
- private async Task GetPosts() => _posts = await httpClient.GetJsonAsync<List<Post>>("https://localhost:44323/api/Posts");*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement