Example #1
0
 public string Bet(int lotId, int money)
 {
     if (person == null)
     {
         return("Authorization!!!");
     }
     return(ClassWork.Bet(person, lotId, money));
 }
Example #2
0
 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");
 }