Пример #1
0
        public void CancellBet(int?betId)
        {
            var dbRecord = Find(betId);

            dbRecord.Status = "Cancelled";
            _context.Entry(dbRecord).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            _context.SaveChanges();
        }
 public void Update(SportCountry sportCountry)
 {
     _context.Entry(sportCountry).State = EntityState.Modified;
     _context.SaveChanges();
 }
Пример #3
0
 public void udate(SportsTree sportsTree)
 {
     _context.Entry(sportsTree).State = EntityState.Modified;
     _context.SaveChanges();
 }
Пример #4
0
 public void Update(SportsTournament sportsTournament)
 {
     _context.Entry(sportsTournament).State = EntityState.Modified;
     _context.SaveChanges();
 }
 public void Update(BetType betType)
 {
     _context.Entry(betType).State = EntityState.Modified;
     _context.SaveChanges();
 }
Пример #6
0
 public void Update(Odds odds)
 {
     _context.Entry(odds).State = EntityState.Modified;
     _context.SaveChanges();
 }
Пример #7
0
 public void Update(Market market)
 {
     _context.Entry(market).State = EntityState.Modified;
     _context.SaveChanges();
 }
Пример #8
0
 public void update(BonusTbl bonusTbl)
 {
     _context.Entry(bonusTbl).State = EntityState.Modified;
     _context.SaveChanges();
 }
 public void Update(TournamentBetType tournamentBetType)
 {
     _context.Entry(tournamentBetType).State = EntityState.Modified;
     _context.SaveChanges();
 }
Пример #10
0
 public void Update(Country country)
 {
     _context.Entry(country).State = EntityState.Modified;
     _context.SaveChanges();
 }
Пример #11
0
 public void Update(Event entitity)
 {
     _context.Entry(entitity).State = EntityState.Modified;
     _context.SaveChanges();
 }