예제 #1
0
        [HttpGet("{genre}")] //Type any genre listed in the DB to show all movies of that genre. Ex: Movie/Horror or Movie/Drama.
        public List <Movie> Movie(string genre)
        {
            List <Movie> movieLib = DataAccessor.GetAllFromGenre(genre);

            return(movieLib);
        }