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