public RegisterCommandHandler( ISportsBettingDbContext dbContext, ICommandHandler <PasswordCommand, string> encryptPasswordHandler) { this.dbContext = dbContext; this.encryptPasswordHandler = encryptPasswordHandler; }
public UpdateOddCommandHandler( ICache <Odd> oddsCache, ISportsBettingDbContext dbContext, IQueryHandler <EntitiesByIdQuery <Odd>, IEnumerable <Odd> > oddByIdHandler) { this.oddsCache = oddsCache; this.dbContext = dbContext; this.oddByIdHandler = oddByIdHandler; }
public UpdateMatchCommandHandler( ICache <Match> matchesCache, ISportsBettingDbContext dbContext, IQueryHandler <EntitiesByIdQuery <Match>, IEnumerable <Match> > matchByIdHandler) { this.matchesCache = matchesCache; this.dbContext = dbContext; this.matchByIdHandler = matchByIdHandler; }
public PlaceBetCommandHandler( ISportsBettingDbContext dbContext, ICommandHandler <UpdateAccountCommand> updateAccountHandler, IQueryHandler <AccountByUsernameQuery, Account> accountByUsernameHandler) { this.dbContext = dbContext; this.updateAccountHandler = updateAccountHandler; this.accountByUsernameHandler = accountByUsernameHandler; }
public DeleteEntitiesCommandHandler(ICache <TEntity> cache, ISportsBettingDbContext dbContext) { this.cache = cache; this.dbContext = dbContext; }
public AccountByUsernameQueryHandler(ISportsBettingDbContext dbContext) { this.dbContext = dbContext; }
public CreateTournamentCommandHandler(ICache <Tournament> tournamentsCache, ISportsBettingDbContext dbContext) { this.tournamentsCache = tournamentsCache; this.dbContext = dbContext; }
public WithDeletedEntitiesHandler(ISportsBettingDbContext dbContext) { this.dbContext = dbContext; }
public CreateMarketCommandHandler(ICache <Market> marketsCache, ISportsBettingDbContext dbContext) { this.marketsCache = marketsCache; this.dbContext = dbContext; }
public LoginCommandHandler(ISportsBettingDbContext dbContext) { this.dbContext = dbContext; }
public CreateOddCommandHandler(ICache <Odd> oddsCache, ISportsBettingDbContext dbContext) { this.oddsCache = oddsCache; this.dbContext = dbContext; }
public CreateTeamCommandHandler(ICache <Team> teamsCache, ISportsBettingDbContext dbContext) { this.teamsCache = teamsCache; this.dbContext = dbContext; }
public Cache(ISportsBettingDbContext dbContext) { this.dbContext = dbContext; this.cache = new ConcurrentDictionary <int, TEntity>(); }
public UpdateAccountCommandHandler(ISportsBettingDbContext dbContext) { this.dbContext = dbContext; }
public EntityByIdQueryHandler(ISportsBettingDbContext dbContext) { this.dbContext = dbContext; }
public DbInitializer(ISportsBettingDbContext dbContext) { this.dbContext = dbContext; }