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); }
public bool MakeBetByColor(BetByColorViewModel bet) { return(MakeBet(bet.RouletteId, bet.UserId, bet.Money, false, 0, (Entities.Dto.Color)bet.Color)); }