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();
 }
 public void udate(SportsTree sportsTree)
 {
     _context.Entry(sportsTree).State = EntityState.Modified;
     _context.SaveChanges();
 }
Beispiel #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();
 }
Beispiel #6
0
 public void Update(Odds odds)
 {
     _context.Entry(odds).State = EntityState.Modified;
     _context.SaveChanges();
 }
Beispiel #7
0
 public void Update(Market market)
 {
     _context.Entry(market).State = EntityState.Modified;
     _context.SaveChanges();
 }
Beispiel #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();
 }
Beispiel #10
0
 public void Update(Country country)
 {
     _context.Entry(country).State = EntityState.Modified;
     _context.SaveChanges();
 }
 public void Update(Event entitity)
 {
     _context.Entry(entitity).State = EntityState.Modified;
     _context.SaveChanges();
 }