コード例 #1
0
        public string MakeBetByColor(BetByColorViewModel bet)
        {
            string result = string.Empty;
            bool   res    = BusinessWebApi.GetInstance().MakeBetByColor(bet);

            if (res)
            {
                result = "SUCCESS";
            }
            else
            {
                result = "NON SUCCESS";
            }

            return(result);
        }
コード例 #2
0
 public bool MakeBetByColor(BetByColorViewModel bet)
 {
     return(MakeBet(bet.RouletteId, bet.UserId, bet.Money, false, 0, (Entities.Dto.Color)bet.Color));
 }