public Book CheckOut(Book updatedBook) { Book exists = _repo.Get(updatedBook.Id); if (exists == null) { throw new Exception("Invalid Id"); } return _repo.CheckOutIn(updatedBook); }