public bool Post(CreateAvion avion)
 {
     if (avion != null)
     {
         return(CreateAvionRepository.addAvionDB(avion));
     }
     else
     {
         return(false);
     }
 }
 public bool Delete(int id)
 {
     return(CreateAvionRepository.deleteAvion(id));
 }
 public IEnumerable <CreateAvion> Get(int id)
 {
     return(CreateAvionRepository.GetAvion(id));
 }
 public IEnumerable <CreateAvion> Get()
 {
     return(CreateAvionRepository.GetAllAvion());;
 }