public ActionResult PlayLoto(long?Id) { PlayModel oPlay = PlayDAC.Get(new PlayModel { Id = Id }, true).FirstOrDefault(); PlayLoadCombos(oPlay.Game.Id, oPlay.CreatedOn); return(View(oPlay)); }
public ActionResult Play(PlayModel play) { try { PlayLoadCombos(); List <PlayModel> oLst = PlayDAC.Get(play, false); return(View(oLst)); } catch (Exception) { throw; } }