示例#1
0
        public IHttpActionResult GetByTitle(string title)
        {
            ListOfDVDResponse found = manager.GetByTitle(title);

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

            return(Ok(found.DVDs));
        }