DotBased/DotBased.AspNet.Authority/Repositories/RepositoryManager.cs

13 lines
477 B
C#
Raw Normal View History

2024-12-30 15:40:52 +01:00
namespace DotBased.AspNet.Authority.Repositories;
public class RepositoryManager<TUser, TGroup> where TUser : class where TGroup : class
{
public RepositoryManager(IUserRepository<TUser> userRepository, IGroupRepository<TGroup> groupRepository)
{
UserRepository = userRepository;
GroupRepository = groupRepository;
}
public IUserRepository<TUser> UserRepository { get; set; }
public IGroupRepository<TGroup> GroupRepository { get; set; }
}