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

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

+2
View File
@@ -6,6 +6,7 @@ using CartriX.Api.Controllers.Cartridge;
using CartriX.Api.Controllers.Report;
using CartriX.Api.Controllers.Location;
using CartriX.Api.Service;
using CartriX.Api.Controllers.Manufacturer;
var builder = WebApplication.CreateBuilder(args);
@@ -15,6 +16,7 @@ builder.Services.AddControllers().AddNewtonsoftJson(options =>
});
builder.Services.AddScoped<ICartridgeService, CartridgeService>();
builder.Services.AddScoped<IManufacturerService, ManufacturerService>();
builder.Services.AddScoped<ILocationService, LocationService>();
builder.Services.AddScoped<IPrinterService, PrinterService>();
builder.Services.AddScoped<IReportService, ReportService>();