Refactored response and request models to dto naming. Adjusted mapper naming

This commit is contained in:
2026-01-14 19:19:45 +01:00
parent 1d1dfc2c1c
commit 7f482fd6c3
37 changed files with 119 additions and 119 deletions

View File

@@ -144,14 +144,14 @@
@code
{
private bool IsInfoLoading = true;
private SystemInfoResponse? InfoResponse;
private SystemInfoDto? InfoResponse;
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if(!firstRender)
return;
InfoResponse = await HttpClient.GetFromJsonAsync<SystemInfoResponse>("api/admin/system/info", Constants.SerializerOptions);
InfoResponse = await HttpClient.GetFromJsonAsync<SystemInfoDto>("api/admin/system/info", Constants.SerializerOptions);
IsInfoLoading = false;
await InvokeAsync(StateHasChanged);