public IHttpActionResult GetBooksWithAuthersById(int id) { BookWithAuther bookwithauther = db.FindBooksWithAuthersById(id); if (bookwithauther == null) { return(NotFound()); } return(Ok(bookwithauther)); }