public async Task Close(int borrowId)
        {
            Borrow borrowDomain = await GetBorrowAsync(borrowId);

            borrowDomain.Close();
            await this._borrowRepository.Save(borrowDomain);
        }
        public void GivenBorrowWhenBorrowClosedThenProductShary()
        {
            User    borrower = new User("Test");
            User    lender   = new User("Test1");
            Product product  = new Product(lender, "Test", "Test", new ProductType(), new Term(DateTime.Now.AddDays(-6), DateTime.Now));
            Borrow  borrow   = new Borrow(borrower, product, new Term(DateTime.Now.AddDays(-2), DateTime.Now.AddDays(-1)));

            product.Status.Should().Be(ProductStatus.Shary);
            borrow.Status.Should().Be(BorrowStatus.Created);
            borrow.Confirm();
            product.Status.Should().Be(ProductStatus.Borrowed);
            borrow.Status.Should().Be(BorrowStatus.Accepted);
            borrow.Close();
            product.Status.Should().Be(ProductStatus.Shary);
            borrow.Status.Should().Be(BorrowStatus.Closed);
        }