public string Bet(int lotId, int money) { if (person == null) { return("Authorization!!!"); } return(ClassWork.Bet(person, lotId, money)); }
public string Bet(int lotId, int money) { if (person == null) { return("Authorization!!!"); } if (ClassWork.Bet(person, lotId, money) == true) { return("All ok"); } return("Something wrong"); }