Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. private List<Post> _posts = new List<Post>();
  2. protected override async Task OnInitializedAsync() => await GetPosts();
  3. 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