147
CHAPTER 5 | Designing and Developing Multi-Container and Microservice-Based .NET Applications
productToUpdate.
Id
);
if
(catalogItem ==
null
)
return
NotFound
();
bool
raiseProductPriceChangedEvent =
false
;
IntegrationEvent priceChangedEvent =
null
;
if
(catalogItem.
Price
!= productToUpdate.
Price
)
raiseProductPriceChangedEvent =
Dostları ilə paylaş: