protected override async ValueTask <object> InvokeCoreAsync(DomainService instance, object[] inputs, bool disableStackTraces) { IEnumerable <ChangeSetEntry> changeSetEntries = (IEnumerable <ChangeSetEntry>)inputs[0]; try { return(await ChangeSetProcessor.ProcessAsync(instance, changeSetEntries)); } catch (Exception ex) { if (ex.IsFatal()) { throw; } throw ServiceUtility.CreateFaultException(ex, disableStackTraces); } }
protected override object InvokeCore(object instance, object[] inputs, out object[] outputs) { DomainService domainService = (DomainService)instance; IEnumerable <ChangeSetEntry> changeSetEntries = (IEnumerable <ChangeSetEntry>)inputs[0]; outputs = ServiceUtility.EmptyObjectArray; try { return(ChangeSetProcessor.Process(domainService, changeSetEntries)); } catch (Exception ex) { if (ex.IsFatal()) { throw; } throw ServiceUtility.CreateFaultException(ex); } }