private void SaveData() { var storage = new LocationStorage(); storage.SaveLocations(new AppSettings() { Locations = Locations.Select(it => it.Location).ToList() }); }