Beispiel #1
0
        // GET: OddsHandler/Edit/5
        public ActionResult Edit(int id)
        {
            var odd = _oddsLogic.GetOdds(new[] { id });

            if (odd != null)
            {
                ;
            }
            return(View(odd.FirstOrDefault()));
        }
Beispiel #2
0
 public async Task SendUpdatedOdds(List <OddsData> data)
 {
     _oddsLogic.EditOdds(data);
     var result = _oddsLogic.GetOdds(data.Select(x => x.Id).ToArray());
     await Clients.All.SendAsync(actionUpdateOdds, result);
 }