using CartriX.Shared.Models.Location; using Microsoft.EntityFrameworkCore; namespace CartriX.Api.Controllers.Location { public class LocationService(AppDbContext _context) : ILocationService { public async Task> List() => await _context.Locations.ToListAsync(); } }