DotBased/DotBased.AspNet.Authority/Repositories/RepositoryManager.cs
2024-12-30 15:40:52 +01:00

13 lines
477 B
C#

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; }
}