public void SaveFile() { if (Teams == null) { return; } ScoutingJson.SaveTeamsList(Teams, FilePath); DoSendData(); }
public void UpdateTeamsAndEvent(string path) { if (Event.AllTeams != null) { ScoutingJson.SaveTeamsList(Event.AllTeams, path + "Teams" + ScoutingJson.TeamsListExtension); } ScoutingJson.SaveEvent(Event, path + Event.EventName + ScoutingJson.EventExtension); }