public ResultStatus GetActions( NCRClose nCRClose, NCRClose_Parameters parameters, NCRClose_Request request, out NCRClose_Result result) { result = (NCRClose_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)nCRClose, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((INCRCloseService)this._Channel).GetActions(this._UserProfile, nCRClose, parameters, request, out result) : this.AddMethod((Method) new NCRCloseMethod(nCRClose, NCRCloseMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)nCRClose, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public NCRCloseMethod(NCRClose Cdo, NCRCloseMethods Method, NCRClose_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }