You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
828 B
34 lines
828 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Model
|
|
{
|
|
public class Banque
|
|
{
|
|
public string Nom { get; private set; }
|
|
public string UrlSite { get; private set; }
|
|
public string UrlLogo { get; private set; }
|
|
public List<Compte> ListeDesComptes { get; private set; }
|
|
|
|
public Banque(string nom, string urlSite, string urlLogo)
|
|
{
|
|
Nom = nom;
|
|
UrlSite = urlSite;
|
|
UrlLogo = urlLogo;
|
|
}
|
|
|
|
private void AjouterCompte(Compte compte)
|
|
{
|
|
ListeDesComptes.Add(compte);
|
|
}
|
|
|
|
private void SupprimerCompte(Compte compte)
|
|
{
|
|
ListeDesComptes.Remove(compte);
|
|
}
|
|
}
|
|
}
|