From f2ae2d41ccc1e4ea3d0294f47a63f61700388a7a Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Fri, 6 Jan 2023 09:02:07 +0100 Subject: [PATCH] Probleme --- Sources/Data/PersStub.cs | 123 ++++++++++++++++++++++++++-- Sources/IHM/IHM.csproj | 4 +- Sources/IHM/Mobile/MainPage.xaml | 18 ++-- Sources/IHM/Mobile/MainPage.xaml.cs | 3 +- 4 files changed, 131 insertions(+), 17 deletions(-) diff --git a/Sources/Data/PersStub.cs b/Sources/Data/PersStub.cs index e990814..fb5c37c 100644 --- a/Sources/Data/PersStub.cs +++ b/Sources/Data/PersStub.cs @@ -2,9 +2,9 @@ namespace Data { - public class PersStub /*: IPersistanceManager*/ + public class PersStub : IPersistanceManager { - private List lesInscrits = new List(); + /*private List lesInscrits = new List(); public PersStub() { @@ -63,10 +63,7 @@ namespace Data public void CreateInscrit(Inscrit inscrit){ lesInscrits.Add(inscrit); } - /*public string LastInscrit() - { - return lesInscrits[lesInscrits.Count - 1].Id; - }*/ + public bool ExistEmail(string mail) { foreach(Inscrit i in lesInscrits) @@ -156,6 +153,120 @@ namespace Data public List LoadBanqueId(int id) + { + throw new NotImplementedException(); + }*/ + public bool AjouterBanque(Banque banque, Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public bool AjouterCompte(Compte compte, Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public bool AjouterEcheance(Compte compte, Echeance echeance) + { + throw new NotImplementedException(); + } + + public bool AjouterInscrit(Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public bool AjouterOperation(Compte compte, Operation operation) + { + throw new NotImplementedException(); + } + + public bool AjouterPlanification(Compte compte, Planification planification) + { + throw new NotImplementedException(); + } + + public bool EmailDisponible(string mail) + { + throw new NotImplementedException(); + } + + public IList GetDataFromOFX(string path) + { + throw new NotImplementedException(); + } + + public bool ModifierMdpInscrit(string mail, string nouveauMdp) + { + throw new NotImplementedException(); + } + + public IList RecupererBanques(Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public IList RecupererBanquesDisponible() + { + throw new NotImplementedException(); + } + + public IList RecupererCompte(Banque banque, Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public IList RecupererEcheance(Compte compte) + { + throw new NotImplementedException(); + } + + public Inscrit RecupererInscrit(string mail) + { + throw new NotImplementedException(); + } + + public IList RecupererOperation(Compte compte) + { + throw new NotImplementedException(); + } + + public IList RecupererPlanification(Compte compte) + { + throw new NotImplementedException(); + } + + public bool SupprimerBanque(Banque banque, Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public bool SupprimerCompte(Compte compte, Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public bool SupprimerEcheance(Compte compte, Echeance echeance) + { + throw new NotImplementedException(); + } + + public bool SupprimerInscrit(Inscrit inscrit) + { + throw new NotImplementedException(); + } + + public bool SupprimerOperation(Compte compte, Operation operation) + { + throw new NotImplementedException(); + } + + public bool SupprimerPlanification(Compte compte, Planification planification) + { + throw new NotImplementedException(); + } + + public bool TestConnexion() { throw new NotImplementedException(); } diff --git a/Sources/IHM/IHM.csproj b/Sources/IHM/IHM.csproj index b512e9e..262fcf6 100644 --- a/Sources/IHM/IHM.csproj +++ b/Sources/IHM/IHM.csproj @@ -57,7 +57,7 @@ - + @@ -169,4 +169,6 @@ + + diff --git a/Sources/IHM/Mobile/MainPage.xaml b/Sources/IHM/Mobile/MainPage.xaml index a245547..e5f143e 100644 --- a/Sources/IHM/Mobile/MainPage.xaml +++ b/Sources/IHM/Mobile/MainPage.xaml @@ -18,7 +18,7 @@ - + - + - +