This commit is contained in:
Hukuta committed 2026-05-07 11:27:34 +09:00
1 parent 34868984fb
commit 99cdf44c87
7 files changed
+49 -21

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
using CartriX.Api.Interfaces;
using CartriX.Api.Services;
using CartriX.Shared.Classes;
using Microsoft.EntityFrameworkCore;
@@ -6,8 +7,8 @@ using Scalar.AspNetCore;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();
builder.Services.AddScoped<PrinterService>();
builder.Services.AddScoped<LocationService>();
builder.Services.AddScoped<IPrinterService, PrinterService>();
builder.Services.AddScoped<ILocationService, LocationService>();
builder.Services.AddCors(options =>
{