Exemple #1
0
        public void UpdateFederation(int id, string nomFedePays, int?pays, string web)
        {
            DataContext.DCFederation federation = new DataContext.DCFederation();
            string Pays = federation.GetPays(pays);

            federation.UpdateFederation(id, nomFedePays, Pays, web);
        }
Exemple #2
0
        public Federation GetFederation(int id)
        {
            Federation federation = new Federation();

            DataContext.DCFederation fede = new DataContext.DCFederation();
            return(federation = fede.GetFederation(id));
        }
Exemple #3
0
        public void AddFederation(string nomFederation, string pays, string web)
        {
            DataContext.DCFederation federation = new DataContext.DCFederation();
            string Pays = federation.GetPays(pays);

            federation.AddFederation(nomFederation, Pays, web);
        }
Exemple #4
0
        public List <Federation> GetList()
        {
            List <Federation> liste = new List <Federation>();

            DataContext.DCFederation federation = new DataContext.DCFederation();
            return(liste = federation.GetAllFederation());
        }
Exemple #5
0
 public void DeleteFederation(int id)
 {
     DataContext.DCFederation federation = new DataContext.DCFederation();
     federation.DelFederation(id);
 }