public void RemoveBooks_ReturnTrue_IfTheMethodIsCalled()
        {
            BookServiceMock.Setup(x => x.Remove(It.IsAny <string>()));
            var operation = new RemoveBookOperation(BookServiceMock.Object);

            operation.RemoveBooks(It.IsAny <string>());
            BookServiceMock.Verify(X => X.Remove(It.IsAny <string>()), Times.Once);
        }
        public ActionResult <string> Delete([FromRoute] string id)
        {
            var operation = new RemoveBookOperation(_bookService);

            if (operation == null)
            {
                return(NotFound());
            }
            operation.RemoveBooks(id);

            return(id);
        }