Сделал раздел с устройствами где есть Datagrid с выводом как местоположений так и устройств в них

This commit is contained in:
Hukuta committed 2026-05-07 19:04:10 +09:00
1 parent 3d52cd5691
commit 17e4794160
25 files changed
+595 -308

No files matched your search

@@ -19,11 +19,13 @@ namespace CartriX.Api.Controllers
}
[HttpGet("GetAll")]
public IActionResult GetListLocations()
public IActionResult GetAll()
{
var result = _locationService.GetAll().Result.Select(l => l.OnlyNameAndPrinters());
var result = _locationService.GetAll().Result;
return Ok(result);
var converted = result.Select(l => l.ToQueryToListLocationsAndPrintersDto());
return Ok(converted);
}
}
}