mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Начал делать форму для добавления картриджей
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user