Начал делать форму для добавления картриджей

This commit is contained in:
HK committed 2026-06-06 15:56:41 +09:00
1 parent 85264b7a6b
commit ba16de4643
13 files changed
+816 -84

No files matched your search

@@ -27,7 +27,7 @@ namespace CartriX.Api.Controllers.Cartridge
Model = Model,
StatusId = 1,
PrinterConnetctionTypeId = printer.PrinterConnetctionTypeId,
InstalledCartridge = new() { Model = new() { Name = Article.Name, Manufacturer = Manufacturer, SupportedArticles = new() { Article } }, Volume = printer.VolumeBuiltInCartridge, StatusId = 1 },
InstalledCartridge = new() { Model = new() { Name = Article.Name, Manufacturer = Manufacturer, SupportedFamilies = new() { Article } }, Volume = printer.VolumeBuiltInCartridge, StatusId = 1 },
Location = Location
};
await _context.Printers.AddAsync(NewPrinter);