CloudEventsServiceInvokeOnAccountCreated Method
Saves the new account to disc, generates and saves a temporary password for it,
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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<Guid> InvokeOnAccountCreated(
AccountDto account,
CompanyDto company,
UserSessionData createdBy
)
- account AccountDto
- Newly created account
- company CompanyDto
- The company the account belongs to
- createdBy UserSessionData
- The user that created the new 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!