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; }
public UserCommand(IWriteUserRepository context) { _context = context; }