Probleme
continuous-integration/drone/push Build is failing Details

ManagerRefactoring
Hugo LIVET 2 years ago
parent 6b06e3f909
commit f2ae2d41cc

@ -2,9 +2,9 @@
namespace Data namespace Data
{ {
public class PersStub /*: IPersistanceManager*/ public class PersStub : IPersistanceManager
{ {
private List<Inscrit> lesInscrits = new List<Inscrit>(); /*private List<Inscrit> lesInscrits = new List<Inscrit>();
public PersStub() public PersStub()
{ {
@ -63,10 +63,7 @@ namespace Data
public void CreateInscrit(Inscrit inscrit){ public void CreateInscrit(Inscrit inscrit){
lesInscrits.Add(inscrit); lesInscrits.Add(inscrit);
} }
/*public string LastInscrit()
{
return lesInscrits[lesInscrits.Count - 1].Id;
}*/
public bool ExistEmail(string mail) public bool ExistEmail(string mail)
{ {
foreach(Inscrit i in lesInscrits) foreach(Inscrit i in lesInscrits)
@ -156,6 +153,120 @@ namespace Data
public List<Banque> LoadBanqueId(int id) public List<Banque> 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<Compte> GetDataFromOFX(string path)
{
throw new NotImplementedException();
}
public bool ModifierMdpInscrit(string mail, string nouveauMdp)
{
throw new NotImplementedException();
}
public IList<Banque> RecupererBanques(Inscrit inscrit)
{
throw new NotImplementedException();
}
public IList<Banque> RecupererBanquesDisponible()
{
throw new NotImplementedException();
}
public IList<Compte> RecupererCompte(Banque banque, Inscrit inscrit)
{
throw new NotImplementedException();
}
public IList<Echeance> RecupererEcheance(Compte compte)
{
throw new NotImplementedException();
}
public Inscrit RecupererInscrit(string mail)
{
throw new NotImplementedException();
}
public IList<Operation> RecupererOperation(Compte compte)
{
throw new NotImplementedException();
}
public IList<Planification> 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(); throw new NotImplementedException();
} }

@ -57,7 +57,7 @@
<Resource Include="Resources\Images\NavBar\home_black.png" /> <Resource Include="Resources\Images\NavBar\home_black.png" />
<!-- Splash Screen --> <!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\logo.svg" Color="#3C425A" BaseSize="128,128" /> <!--<MauiSplashScreen Include="Resources\Splash\logo.svg" Color="#3C425A" BaseSize="128,128" />-->
<!-- Images --> <!-- Images -->
<MauiImage Include="Resources\Images\*" /> <MauiImage Include="Resources\Images\*" />
@ -169,4 +169,6 @@
</MauiXaml> </MauiXaml>
</ItemGroup> </ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties XamarinHotReloadDebuggerTimeoutExceptionIHMHideInfoBar="True" /></VisualStudio></ProjectExtensions>
</Project> </Project>

@ -51,11 +51,11 @@
Margin="5,0,0,0" Margin="5,0,0,0"
TextDecorations="Underline" TextDecorations="Underline"
HorizontalOptions="Center"> HorizontalOptions="Center">
<Label.GestureRecognizers> <Label.GestureRecognizers>
<TapGestureRecognizer Command="{Binding TapCommand}" <TapGestureRecognizer Command="{Binding TapCommand}"
CommandParameter="ForgetPassword"/> CommandParameter="ForgetPassword"/>
</Label.GestureRecognizers> </Label.GestureRecognizers>
</Label> </Label>
<HorizontalStackLayout HorizontalOptions="Center"> <HorizontalStackLayout HorizontalOptions="Center">

@ -9,7 +9,7 @@ namespace IHM.Mobile
public MainPage() public MainPage()
{ {
InitializeComponent(); InitializeComponent();
BindingContext = this; //BindingContext = this;
} }
@ -57,5 +57,6 @@ namespace IHM.Mobile
} }
public ICommand TapCommand => new Command<string>(async (page) => await Shell.Current.GoToAsync(page)); public ICommand TapCommand => new Command<string>(async (page) => await Shell.Current.GoToAsync(page));
} }
} }
Loading…
Cancel
Save