using Microsoft.Extensions.Options; namespace TaikoWebUI.Pages; public partial class Users { private DashboardResponse? response; protected override async Task OnInitializedAsync() { await base.OnInitializedAsync(); response = await Client.GetFromJsonAsync("api/Dashboard"); } }