Сделал добавление картриджей через форму

This commit is contained in:
Hukuta committed 2026-06-08 04:12:50 +09:00
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()
};
}
}