Exemplo n.º 1
0
 public static int SupprimerJockey(int id)
 {
     return(JockeyDAO.DeleteJockey(id));
 }
Exemplo n.º 2
0
        public static int ModifierJockey(string nom, string prenom, int age, string civilite)
        {
            Jockey jo = new Jockey(nom, prenom, age, civilite);

            return(JockeyDAO.UpdateJockey(jo));
        }
Exemplo n.º 3
0
 public static Jockey GetUnJockey(int id)
 {
     return(JockeyDAO.GetUnJockey(id));
 }
Exemplo n.º 4
0
        public static int CreerJockey(string nom, string prenom, int age, string civilite)
        {
            Jockey jo = new Jockey(nom, prenom, age, civilite);

            return(JockeyDAO.AjoutJockey(jo));
        }
Exemplo n.º 5
0
 public static List <Jockey> GetJockeys()
 {
     return(JockeyDAO.GetJockeys());
 }