Added Aspire

This commit is contained in:
Maarten Zeeman
2026-02-14 20:20:50 +01:00
parent bf8c71c504
commit f8192482bf
19 changed files with 210 additions and 32 deletions

View File

@@ -0,0 +1,12 @@
using Lutra.Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace Lutra.Application.Interfaces;
public interface ILutraDbContext
{
DbSet<Supermarkt> Supermarkten { get; }
DbSet<Verspakket> Verspaketten { get; }
Task<int> SaveChangesAsync(CancellationToken cancellationToken);
}

View File

@@ -1,13 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Cortex.Mediator" Version="1.7.0" />
<PackageReference Include="Cortex.Mediator" Version="2.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Lutra.Domain\Lutra.Domain.csproj" />
</ItemGroup>
</Project>