Example #1
0
        public ActionResult <IEnumerable <MovieResponse> > GetMoviesInTimeRange(DateTime start, DateTime end)
        {
            var movieResponses = movieServices.GetAllMoviesInTimeRange(start, end);

            if (movieResponses == null)
            {
                return(NotFound());
            }

            return(movieResponses);
        }