public IHttpActionResult GetByDirector(string directorName) { ListOfDVDResponse found = manager.GetByDirector(directorName); if (found.DVDs.Count == 0) { return(NotFound()); } return(Ok(found.DVDs)); }