|
|
@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Model
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public class Stub
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public List<Banque> Banques = new();
|
|
|
|
|
|
|
|
public List<Inscrit> Inscrits = new();
|
|
|
|
|
|
|
|
public List<Compte> Comptes = new();
|
|
|
|
|
|
|
|
public List<Inscrit> LoadInscrit()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Inscrits.Add(new("00001", "Evard", "lucasevard@gmail.com","Lucas","test",10,LoadBanques()));
|
|
|
|
|
|
|
|
Inscrits.Add(new("00002", "Livet", "hugolivet@gmail.com", "Hugo", "test", 110,LoadBanques()));
|
|
|
|
|
|
|
|
return Inscrits;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<Banque> LoadBanques()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Banques.Add(new("BNP Paribas", "https://mabanque.bnpparibas/", "https://logos-marques.com/wp-content/uploads/2020/12/BNP-Paribas-logo.png",LoadCompte()));
|
|
|
|
|
|
|
|
Banques.Add(new("Crédit Agricole", "https://www.credit-agricole.fr", "https://yt3.ggpht.com/a/AGF-l7_mEfX2eQaGm8GefLOg5ZMRciNw-pESE3gUWg=s900-c-k-c0xffffffff-no-rj-mo",LoadCompte()));
|
|
|
|
|
|
|
|
return Banques;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<Compte> LoadCompte()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Comptes.Add(new("Livret A", 2));
|
|
|
|
|
|
|
|
Comptes.Add(new("Compte Cheque", 2000));
|
|
|
|
|
|
|
|
return Comptes;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|