mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Начал проект по новой, не спеша, аккуратно, крч жопа >:(
This commit is contained in:
1 parent
bd5b8f84a7
commit
a987494d29
11 files changed
+367
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using CartriX.Api;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.Services.AddDbContext<AppDbContext>(options =>
|
||||
{
|
||||
options.UseSqlite(builder.Configuration.GetConnectionString("DevSQL"));
|
||||
});
|
||||
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
||||
app.Run();
|
||||
Reference in new issue
Block a user