public CompleteRiskAssessmentMethod( CompleteRiskAssessment Cdo, CompleteRiskAssessmentMethods Method, CompleteRiskAssessment_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( CompleteRiskAssessment completeRiskAssessment, CompleteRiskAssessment_Parameters parameters, CompleteRiskAssessment_Request request, out CompleteRiskAssessment_Result result) { result = (CompleteRiskAssessment_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)completeRiskAssessment, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ICompleteRiskAssessmentService)this._Channel).GetActions(this._UserProfile, completeRiskAssessment, parameters, request, out result) : this.AddMethod((Method) new CompleteRiskAssessmentMethod(completeRiskAssessment, CompleteRiskAssessmentMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)completeRiskAssessment, (Parameters)parameters, (Request)request, (Result)result); } return(res); }