using ApplicationLayer.Locations.NeededServices; using Domains.LocationDomain; using Infrastructure.Database.Generic; using Microsoft.EntityFrameworkCore; namespace Infrastructure.Database.Locations.Repositories.Cities; public sealed class CitiesRepository(IGenericReader reader, IGenericWriter writer, IUnitOfWork unitOfWork) : GenericRepository(reader, writer, unitOfWork), ICitiesRepository { protected override IQueryable LoadDomain() { return base.LoadDomain().Include(c => c.Country); } }