public void DeleteWonPrize(int wonPrizeId)
        {
            WonPrize targetWonPrize = context.WonPrizes.Find(wonPrizeId);

            if (targetWonPrize != null)
            {
                context.WonPrizes.Remove(targetWonPrize);
            }
        }
        public void UpdateWonPrize(WonPrize wonPrize)
        {
            WonPrize targetWonPrize = context.WonPrizes.Find(wonPrize.WonPrizeID);

            if (targetWonPrize != null)
            {
                targetWonPrize.WinningAction = wonPrize.WinningAction;
                targetWonPrize.TimeWon       = wonPrize.TimeWon;
            }
        }
 public void InsertWonPrize(WonPrize wonPrize)
 {
     context.WonPrizes.Add(wonPrize);
 }