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