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

namespace DigitalData.UserManager.Infrastructure.Repositories
{
    public class ModuleRepository<TDbContext> : CRUDRepository<Module, int, TDbContext>, IModuleRepository
        where TDbContext : DbContext, IUserManagerDbContext
    {
        public ModuleRepository(TDbContext dbContext) : base(dbContext, dbContext.Modules)
        {
        }
    }
}