mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 13:00:55 +00:00
asd
This commit is contained in:
1 parent
34868984fb
commit
99cdf44c87
7 files changed
+49
-21
No files matched your search
@@ -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 =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user