private async Task AddNewExpense() { for (int currentAttempt = 1; currentAttempt <= MaxAttemptsNumber; currentAttempt++) { _displayer.DisplayMessage("Enter new expense", isClearAll: true); if (_dataReceiver.TryGetDecimal(out var inputResult)) { await _financeService.AddNewExpense(inputResult); return; } _displayer.DisplayErrorMessage("Try again :("); } _displayer.DisplayNotification("Ended typing attempts"); }