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

@@ -16,12 +16,12 @@ public class SystemController : Controller
}
[HttpGet("info")]
public async Task<ActionResult<SystemInfoResponse>> GetInfoAsync()
public async Task<ActionResult<SystemInfoDto>> GetInfoAsync()
{
var cpuUsage = await ApplicationService.GetCpuUsageAsync();
var memoryUsage = await ApplicationService.GetMemoryUsageAsync();
return new SystemInfoResponse(
return new SystemInfoDto(
cpuUsage,
memoryUsage,
ApplicationService.OperatingSystem,