CloudEventsServiceInvokeOnAccountUpdated Method
Saves the updated account to disc, and then invokes the Event Grid Topic that the Action Handler can start its process.
Namespace: MobileTrack.Web.Components.ServicesAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public Task<Guid> InvokeOnAccountUpdated(
AccountDto newValue,
AccountDto originalValue,
CompanyDto company,
UserSessionData updatedBy
)
- newValue AccountDto
- New value of the account
- originalValue AccountDto
- Original value of the account
- company CompanyDto
- The company the account belongs to
- updatedBy UserSessionData
- The user that updated the account.
TaskGuidThe identifier for the event grid action that the user in the front-end can follow up on.
There is no cancellation token because the deletion task should not be interrupted if the player leaves the page!