Exemplo n.º 1
0
        private async Task ExportOps(string text, string fileName)
        {
            string xid;

            if (RbUserId.IsChecked == true)
            {
                xid = "userID=" + text;
            }
            else
            {
                xid = "recordSID=" + text;
            }

            var result = await HttpHandlers.ExportRoomOps(xid, this);

            if (result == null)
            {
                return;
            }

            await parseAndSaveRecord(result, fileName, true);
        }