Example #1
0
 public static bool Validate(Departure f)
 {
     if (PlaneService.Validate(f.Plane) && CrewService.Validate(f.Crew) && FlightService.Validate(f.Flight))
     {
         return(true);
     }
     return(false);
 }
Example #2
0
        public StewardessService()
        {
            _uri       += "stewardesses";
            CrewService = new CrewService();

            var querry = (CrewService.GetAll()).Result.Select(f => f.Id);

            CrewIds = new ObservableCollection <int>(querry);
        }