public ResultStatus GetActions( Rework rework, Rework_Parameters parameters, Rework_Request request, out Rework_Result result) { result = (Rework_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)rework, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IReworkService)this._Channel).GetActions(this._UserProfile, rework, parameters, request, out result) : this.AddMethod((Method) new ReworkMethod(rework, ReworkMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)rework, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public ReworkMethod(Rework Cdo, ReworkMethods Method, Rework_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }