mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
Сделал добавление картриджей через форму
This commit is contained in:
1 parent
70bfae943b
commit
10c499e671
27 files changed
+922
-36
No files matched your search
@@ -13,5 +13,12 @@
|
||||
CountPrinted = cartridge.CountPrinted,
|
||||
StatusId = cartridge.StatusId,
|
||||
};
|
||||
public static Shared.Models.Cartridge.CartridgeModelItem ToItem(this Entities.CartridgeModel model) => new()
|
||||
{
|
||||
Id = model.Id,
|
||||
Name = model.Name,
|
||||
Manufacturer = model.Manufacturer.ToItem(),
|
||||
SupportedFamilies = model.SupportedFamilies.Select(f => f.Name).ToList()
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user