using ApplicationHub.Data.EF.Authentication.Entities; using ApplicationHub.Data.EF.Utils; using ApplicationHub.Domain.Contracts.Authentication.Models; using AutoMapper; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query; namespace ApplicationHub.Data.EF.Authentication.Repositories; public class GroupRepository(AuthenticationDataContext authenticationDataContext, IMapper mapper) : BaseRepository(authenticationDataContext.Groups, mapper) { protected override IIncludableQueryable? Inculdes() { return authenticationDataContext.Groups .Include(x => x.Rights); } }