Сделал модель данных для списка принеров

This commit is contained in:
Hukuta committed 2026-05-31 01:27:28 +09:00
1 parent 4dfb62e9e8
commit 9cc166e37d
11 files changed
+87 -1

No files matched your search

@@ -0,0 +1,10 @@
using CartriX.Shared.Models.Location;
using Microsoft.EntityFrameworkCore;
namespace CartriX.Api.Controllers.Location
{
public class LocationService(AppDbContext _context) : ILocationService
{
public async Task<List<Entities.Location>> List() => await _context.Locations.ToListAsync();
}
}