mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
15 lines
286 B
C#
15 lines
286 B
C#
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();
|