mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
Сделал модель данных для списка принеров
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user