예제 #1
0
 public bool Post(CreateAvion avion)
 {
     if (avion != null)
     {
         return(CreateAvionRepository.addAvionDB(avion));
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 public bool Delete(int id)
 {
     return(CreateAvionRepository.deleteAvion(id));
 }
예제 #3
0
 public IEnumerable <CreateAvion> Get(int id)
 {
     return(CreateAvionRepository.GetAvion(id));
 }
예제 #4
0
 public IEnumerable <CreateAvion> Get()
 {
     return(CreateAvionRepository.GetAllAvion());;
 }