Beispiel #1
0
        public override async Task <CommonResponse> ActivityExecuteOvertime(ActivityExecuteOvertimeRequest request, ServerCallContext context)
        {
            CommonResponse commonResponse = new CommonResponse();

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

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