public void SelectRecipient(TransferToAccount account) { Navigator.UriFor<AmountViewModel>() .WithParam(p => p.FromAccountId, FromAccountId) .WithParam(p => p.ToAccountId, account.Id) .Navigate(); }
bool AlreadyExists(IEnumerable<TransferToAccount> list, TransferToAccount transaction) { return list.Any(y => y.Equals(transaction)); }