public IHttpActionResult GetById(int id) { Dvd found = repo.GetDetails(id); if (found == null) { return(NotFound()); } return(Ok(found)); }