예제 #1
0
        public IHttpActionResult GetBooksWithAuthorsById(int id)
        {
            BookWithAuthor bookwithauthor = db.FindBooksWithAuthorsById(id);

            if (bookwithauthor == null)
            {
                return(NotFound());
            }

            return(Ok(bookwithauthor));
        }