Ejemplo n.º 1
0
        public IHttpActionResult GetAllFlightIds()
        {
            FCS = FlyingCenterSystem.GetFlyingCenterSystemInstance();
            IAnonymousUserFacade anonymousFacade = FCS.GetFacade(null) as IAnonymousUserFacade;
            IList <long>         fligthIds       = anonymousFacade.GetAllFlightsIds();

            if (fligthIds.Count == 0)
            {
                return(NotFound());
            }
            return(Ok(fligthIds));
        }