Exemplo n.º 1
0
        public async Task <ActionResult <IEnumerable <Movie> > > GetHighlights()
        {
            var movies = await scheduleLogic.FindAllMoviesCurrentlyPlayingAsync();

            if (movies == null || !movies.Any())
            {
                return(NotFound());
            }

            return(Ok(movies));
        }