//private int CurrentTicketId = 0;

        public BetRepository(IAccountRepository accountRepository, IPredictionRepository predictionRepository, XbetContext db)
        {
            this.accountRepository    = accountRepository;
            this.predictionRepository = predictionRepository;
            this.db = db;
            //CurrentTicketId = GetCurrentTicketId("a");
        }
 public PredictionRepository(IAccountRepository accountRepository, XbetContext db)
 {
     this.accountRepository = accountRepository;
     this.db = db;
 }
Beispiel #3
0
 public LeagueRepository(XbetContext db)
 {
     this.db = db;
 }
 public AccountRepository(XbetContext db, UserManager <User> userManager)
 {
     this.db          = db;
     this.userManager = userManager;
 }
Beispiel #5
0
 public StatisticsRepository(ILeagueRepository leagueRepository, ITipRepository tipRepository, XbetContext db)
 {
     this.leagueRepository = leagueRepository;
     this.tipRepository    = tipRepository;
     this.db = db;
 }
Beispiel #6
0
 public TipRepository(XbetContext db)
 {
     this.db = db;
 }
Beispiel #7
0
 public MatchRepository(XbetContext db)
 {
     this.db = db;
 }
 public AdministrationRepository(XbetContext db)
 {
     this.db = db;
 }
Beispiel #9
0
 public MessageRepository(XbetContext db)
 {
     this.db = db;
 }