mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 13:00:55 +00:00
Сделал раздел с устройствами где есть Datagrid с выводом как местоположений так и устройств в них
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user