public void Success_FindProductById()
        {
            //Arrange
            int     index;
            Product product;
            Product result;

            //Act
            index = 500;

            product = new Product
            {
                Name  = "ClassLibrary1 - Test product database - FindProductById",
                Price = product_price + index
            };

            db_product.CreateProduct(product);

            product = db_product.FindProductByName(product.Name)[0];
            result  = db_product.FindProductById(product.Id);

            //Assert
            Assert.AreEqual(product.Id, result.Id);
        }
 /// <summary>
 /// Find a product by its id.
 /// </summary>
 /// <param name="id"></param>
 /// <returns>Product</returns>
 public Product FindById(int id)
 {
     return(db_product.FindProductById(id));
 }