public void UpdateEventsInMainDataBase() { for (int i = FootData.Count - 1; i >= 0; i--) { if (!Leagues[Leagues.FindIndex(j => j.Name == FootData[i].League)].State) { FootData.RemoveAt(i); } } }