mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 13:00:55 +00:00
Добавил два маршрутка для API
Для получение инфомации о принтере Добавление принтера (не реализован)
This commit is contained in:
1 parent
c229049791
commit
3eea43e540
13 files changed
+247
-5
No files matched your search
@@ -0,0 +1,11 @@
|
||||
namespace CartriX.Api
|
||||
{
|
||||
public static class Maps
|
||||
{
|
||||
public static Shared.Models.ManufacturerItem ToItem(this Entities.Manufacturer manufacturer) => new()
|
||||
{
|
||||
Name = manufacturer.Name,
|
||||
PicturePath = manufacturer.picturePath
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user