mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-01-19 02:24:19 +01:00
13 lines
477 B
C#
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; }
|
||
|
}
|