Exemple #1
0
        public override async Task <CommonResponse> ActivityExecuteAborted(ActivityExecuteAbortedRequest request, ServerCallContext context)
        {
            CommonResponse commonResponse = new CommonResponse();

            try
            {
                await sagaStorage.ActivityExecuteAborted(request.ActivityId);

                commonResponse.IsSuccess = true;
            }
            catch (Exception ex)
            {
                commonResponse.Errors = CombineError(ex);
            }
            return(commonResponse);
        }