コード例 #1
0
        public async Task <ActionResult <IEnumerable <Movie> > > GetMoviesByDate(DateTime date)
        {
            var movies = await scheduleLogic.FindAllMoviesByDateAsync(date);

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

            return(Ok(movies));
        }