예제 #1
0
        public IHttpActionResult GetBooksWithAuthersById(int id)
        {
            BookWithAuther bookwithauther = db.FindBooksWithAuthersById(id);

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

            return(Ok(bookwithauther));
        }