private async Task HandleRefundResult(Result rt, string DocEntryList) { DocumentSync documentResult = new DocumentSync(); if (rt.ResultCode == 0) { documentResult.SyncResult = "Y"; } else { documentResult.SyncResult = "N"; } documentResult.SyncMsg = rt.Message; documentResult.SAPDocEntry = rt.ObjCode; documentResult.DocEntry = DocEntryList; await refundApp.UpdateSyncDataAsync(documentResult); }