public AuthUnitOfWork(
     ApplicationDbContext context,
     IReadUserRepository readUserRepository,
     IWriteUserRepository writeUserRepository,
     IReadUserRolesRepository readUserRolesRepository,
     IReadPasswordHistoryRepository readPasswordInfoRepository,
     IWritePasswordHistoryRepository writePasswordInfoRepository)
 {
     DbContext                      = context;
     ReadUserRepository             = readUserRepository;
     WriteUserRepository            = writeUserRepository;
     ReadUserRolesRepository        = readUserRolesRepository;
     ReadPasswordHistoryRepository  = readPasswordInfoRepository;
     WritePasswordHistoryRepository = writePasswordInfoRepository;
 }
示例#2
0
 public UserCommand(IWriteUserRepository context)
 {
     _context = context;
 }