Product fix

This commit is contained in:
2025-09-14 18:56:31 +04:00
parent 39927d8961
commit 86e7895122

View File

@@ -72,10 +72,6 @@ namespace YAPWebApplication.Adapters
try
{
var data = _mapper.Map<ProductDataModel>(product);
foreach (var compId in product.ComponentIds)
{
data.Components.Add(new ComponentInProductDataModel(compId, product.Id));
}
_productBL.InsertProduct(data);
}