|
|
@ -110,37 +110,27 @@ namespace Model
|
|
|
|
{
|
|
|
|
{
|
|
|
|
IList<Compte> comptes = await Pers.RecupererCompte(SelectedBanque);
|
|
|
|
IList<Compte> comptes = await Pers.RecupererCompte(SelectedBanque);
|
|
|
|
listeDesComptes.AddRange(comptes);
|
|
|
|
listeDesComptes.AddRange(comptes);
|
|
|
|
}
|
|
|
|
foreach (Compte compte in listeDesComptes)
|
|
|
|
catch(Exception exception)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Debug.WriteLine(exception.Message);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach (Compte compte in listeDesComptes)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
compte.LesPla = await Pers.RecupererPlanification(compte);
|
|
|
|
compte.LesPla = await Pers.RecupererPlanification(compte);
|
|
|
|
compte.LesOpe = await Pers.RecupererOperation(compte);
|
|
|
|
compte.LesOpe = await Pers.RecupererOperation(compte);
|
|
|
|
compte.LesEch = await Pers.RecupererEcheance(compte);
|
|
|
|
compte.LesEch = await Pers.RecupererEcheance(compte);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception exception)
|
|
|
|
|
|
|
|
|
|
|
|
if (listeDesComptes.Count > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Debug.WriteLine(exception.Message);
|
|
|
|
selectedCompte = listeDesComptes.First();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SelectedCompte = listeDesComptes.FirstOrDefault();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
catch(Exception exception)
|
|
|
|
|
|
|
|
|
|
|
|
if (listeDesComptes.Count > 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
selectedCompte = listeDesComptes.First();
|
|
|
|
Debug.WriteLine(exception.Message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SelectedCompte = listeDesComptes.FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public async void LoadBanque()
|
|
|
|
public async void LoadBanque()
|
|
|
|