Refacorisation d'inscrit
continuous-integration/drone/push Build is passing Details

Code
Hug0lvt 2 years ago
parent dee5710752
commit 504f61712e

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Threading.Tasks; using System.Threading.Tasks;
//using Banque;
namespace Model namespace Model
{ {
@ -69,14 +69,9 @@ namespace Model
Mdp = mdp; Mdp = mdp;
SoldeTotal = soldeTotal; SoldeTotal = soldeTotal;
} }
public Inscrit(string id, string nom, string mail, string prenom, string mdp, double soldeTotal,List<Banque>lesbanques) public Inscrit(string id, string nom, string mail, string prenom, string mdp, double soldeTotal, List<Banque> lesbanques)
: this(id, nom, mail, prenom, mdp, soldeTotal)
{ {
Id = id;
Nom = nom;
Mail = mail;
Prenom = prenom;
Mdp = mdp;
SoldeTotal = soldeTotal;
LesBanques = lesbanques; LesBanques = lesbanques;
} }

Loading…
Cancel
Save