using DigitalData.Core.Abstractions.Infrastructure; using DigitalData.Core.Infrastructure; using Microsoft.EntityFrameworkCore; using WorkFlow.Domain.Entities; using WorkFlow.Infrastructure.Contracts; namespace WorkFlow.Infrastructure.Repositories { public class ProfileObjStateRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.ProfileObjStates), IProfileObjStateRepository, ICRUDRepository { protected override IQueryable ReadOnly() => base.ReadOnly().Include(pos => pos.Profile).Include(pos => pos.State); } }