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.Include(l => l.Printers).ThenInclude(p => p.Model).ThenInclude(m => m.Manufacturer).ToListAsync(); } }