private void RetrieveMoney(int amount) { if (logic.RetrieveMoney(amount)) { Сongratulations(amount); } else { Alert(); } }