private void Ok() { if (Amount > 0) { PopupService?.Close(this); if (Amount > 0) { DateTime date = SelectedDate ?? DateTime.Now; _okAction?.Invoke(Amount, IsCollectingVoucher, date); } } }
private void Ok() { PopupService?.Close(this); _okAction(Name, Email); }
private void Cancel() { PopupService?.Close(this); }
private void SaveArticle() { PopupService?.Close(this); _saveArticleAction(this); }