@ -0,0 +1,10 @@
using System;
namespace cat_cafe.Dto
{
public class CatDto
public long Id { get; set; }
public string? Name { get; set; }
public int Age { get; set; } = 0;
}
@ -6,6 +6,6 @@
public string Meow() { return "meow"; }
@ -0,0 +1,7 @@
namespace cat_cafe.Mappers
public class CatMapper
@ -0,0 +1,6 @@
namespace cat_cafe.Services
public class CatsService
@ -7,6 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.12" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.12" />