Esempio n. 1
0
        public IHttpActionResult GetByReleaseYear(int year)
        {
            ListOfDVDResponse found = manager.GetByReleaseYear(year);

            if (found.DVDs.Count == 0)
            {
                return(NotFound());
            }

            return(Ok(found.DVDs));
        }