public PeriodManager(IPeriodStore scorePeriodStore, IScoreInfoStore scoreInfo, IScoreInfoStore scoreInfoStore, ITransaction <PointsGameDbContext> transaction, HelperSendClientMessage sendClientMessageManager, IRankTitleStore rankTitleStore, IGiftStore giftStore) { _scorePeriodStore = scorePeriodStore ?? throw new ArgumentNullException(nameof(scorePeriodStore)); _transaction = transaction ?? throw new ArgumentNullException(nameof(transaction)); _scoreInfoStore = scoreInfoStore ?? throw new ArgumentNullException(nameof(transaction)); _sendClientMessageManager = sendClientMessageManager; _rankTitleStore = rankTitleStore; _giftStore = giftStore; }
public UserManager(IUserStore userStore, IScoreInfoStore scoreInfoStore, HelperAuthentication tokenHelper, ITransaction <PointsGameDbContext> transaction, AllocateManager allocateManager, HellperPush hellperEmail, HelperSendClientMessage sendClientMessageManager) { _userStore = userStore ?? throw new ArgumentNullException(nameof(userStore)); _scoreInfoStore = scoreInfoStore ?? throw new ArgumentNullException(nameof(scoreInfoStore)); helperAuthentication = tokenHelper ?? throw new ArgumentNullException(nameof(tokenHelper)); _transaction = transaction ?? throw new ArgumentNullException(nameof(transaction)); _allocateManager = allocateManager; _hellperEmail = hellperEmail; _sendClientMessageManager = sendClientMessageManager; }