public void RejectRevertAudit(RegisterVM vm, EventHandler <RestClientEventArgs <RMARegisterInfo> > callback) { string relativeUrl = "/RMAService/Register/RejectRevertAudit"; RMARegisterInfo msg = vm.ConvertVM <RegisterVM, RMARegisterInfo>(); restClient.Update <RMARegisterInfo>(relativeUrl, msg, (obj, args) => { if (args.FaultsHandle()) { return; } callback(obj, args); }); }
public void UpdateResponseInfo(RegisterVM vm, EventHandler <RestClientEventArgs <RMARegisterInfo> > callback) { string relativeUrl = "/RMAService/Register/UpdateResponseInfo"; RMARegisterInfo msg = vm.ConvertVM <RegisterVM, RMARegisterInfo>(); msg.SysNo = vm.ResponseInfo.SysNo; restClient.Update <RMARegisterInfo>(relativeUrl, msg, (obj, args) => { if (args.FaultsHandle()) { return; } callback(obj, args); }); }