public void Delete(int productId, int colorId, int sizeId) { var productQuantity = _productQuantityRepository.GetSingleByCondition(x => x.ProductId == productId && x.ColorId == colorId && x.SizeId == sizeId); _productQuantityRepository.Delete(productQuantity); }