public async Task <IActionResult> OnPostTerminateAsync() { await _durableFunctionsService.Terminate(InstanceId, "Terminated via Admin UI."); SuccessMessage = "Termination requested."; await PopulateForm(); return(Page()); }
public async Task OnPostTerminateAsync(string instanceId) { await _durableFunctionsService.Terminate(instanceId, "Terminated via Admin UI."); SuccessMessage = "Termination requested"; await PopulateForm(instanceId); }