add transaction method in customers class

pull/41/head
Antoine PEREDERII 2 years ago
parent fc4e91be98
commit 71b1b0a9a1

@ -18,6 +18,20 @@ namespace Banquale.Model
public Client(string nom, string prenom, string mdp) : base(nom, prenom, mdp)
{}
//public bool DoTransactions(string name, string IBAN, float montant)
//{
// List<Transactions> transactions.add(montant);
// if ()
// return true;
//}
//public bool DoRequest(string name, string IBAN, float montant)
//{
// List<Transactions> transactions.add(montant);
// if ()
// return true;
//}
}

@ -13,7 +13,8 @@
<Entry Placeholder="Destinataire"
HorizontalOptions="Center"
WidthRequest="280"/>
WidthRequest="280"
x:Name="Name"/>
</Frame>

@ -1,4 +1,5 @@
namespace Banquale.Views;
using Banquale.Model;
namespace Banquale.Views;
public partial class RequestPage : ContentPage
{
@ -12,4 +13,6 @@ public partial class RequestPage : ContentPage
// await Shell.Current.GoToAsync("//balance");
//}
//Client.DoRequest(this.name, this.IBAN, )
}

Loading…
Cancel
Save