mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
Сделал список OID адресов, добавил миграцию бд при запуске программы
This commit is contained in:
1 parent
48e625819a
commit
bd426d2647
35 files changed
+927
-46
No files matched your search
@@ -5,8 +5,9 @@ namespace CartriX.Api.Controllers.Location
|
||||
{
|
||||
public static Shared.Models.Location.LocationItem ToItem(this Entities.Location location) => new()
|
||||
{
|
||||
Id = location.Id,
|
||||
Name = location.Name,
|
||||
Printers = location.Printers.Select(p => p.ToItemList()).ToList()
|
||||
};
|
||||
CountPrinters = (byte)location.Printers.Count
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user