Ejemplo n.º 1
0
        public IHttpActionResult GetAllCountriesByScheduledTime(string typeName)
        {
            FCS = FlyingCenterSystem.GetFlyingCenterSystemInstance();
            IAnonymousUserFacade anonymousFacade = FCS.GetFacade(null) as IAnonymousUserFacade;
            IList <Country>      countries       = anonymousFacade.GetAllCountriesByScheduledTime(typeName);

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