using DigitalData.Core.Infrastructure;
using DigitalData.UserManager.Domain.Entities;
using DigitalData.UserManager.Infrastructure.Contracts;
using Microsoft.EntityFrameworkCore;

namespace DigitalData.UserManager.Infrastructure.Repositories
{
    public class GroupRepository<TDbContext> : CRUDRepository<Group, int, TDbContext>, IGroupRepository
        where TDbContext : DbContext, IUserManagerDbContext
    {
        public GroupRepository(TDbContext dbContext) : base(dbContext, dbContext.Groups)
        {
        }
    }
}