public void AddGameBet(GameBet gameBet) { DatabaseContext.ExecuteProcedure("AddGameBet",new { gameBet.UserId, gameBet.GameId, gameBet.HomeWins, gameBet.HomeScore, gameBet.AwayScore }); }
public IHttpActionResult UpdateGameBet(GameBet gameBet) { _gameBetRepository.UpdateGameBet(gameBet); return Ok(); }
public IHttpActionResult AddGameBet(GameBet gameBet) { _gameBetRepository.AddGameBet(gameBet); return Ok(); }