public async Task <IActionResult> OnPostTerminateAsync()
        {
            await _durableFunctionsService.Terminate(InstanceId, "Terminated via Admin UI.");

            SuccessMessage = "Termination requested.";
            await PopulateForm();

            return(Page());
        }
示例#2
0
        public async Task OnPostTerminateAsync(string instanceId)
        {
            await _durableFunctionsService.Terminate(instanceId, "Terminated via Admin UI.");

            SuccessMessage = "Termination requested";

            await PopulateForm(instanceId);
        }