private void SaveData() { DataFlow dataFlow = new DataFlow(); Task.Run(() => dataFlow.SaveData(Countries, Rates)); }