public void TestAddProductOptionService()
 {
     //Arrange
     _helper._mockProductOptionsTable.Clear();
     //Act
     _testService.AddOption(_testProduct.Id, _testProductOptionModel);
     //Assert
     Assert.IsTrue(_helper._mockProductOptionsTable.Exists(p => p.Id == _testProductOption.Id));
     Assert.IsTrue(_helper._mockProductOptionsTable.Exists(p => p.Description == _testProductOption.Description));
     Assert.IsTrue(_helper._mockProductOptionsTable.Exists(p => p.Name == _testProductOption.Name));
     Assert.IsTrue(_testProduct.ProductOptions.Any(p => p.Id == _testProductOption.Id));
     Assert.IsTrue(_testProduct.ProductOptions.Any(p => p.Description == _testProductOption.Description));
     Assert.IsTrue(_testProduct.ProductOptions.Any(p => p.Name == _testProductOption.Name));
 }
 public async Task CreateOption(Guid productId, [FromBody] ProductOptionModel option)
 {
     await _productOptionservice.AddOption(productId, option);
 }