public override void Reset() { Commands.Reset(); Profiles.Reset(); Seasons.Reset(); Misc.Reset(); }
private void mapSeasons(DataTable seasons) { Seasons.Reset(); foreach (DataRow row in seasons.Rows) { try { var season = ClassMapper.Map <Season>(row); season.ParseData(); Seasons.Add(season); } catch (Exception ex) { Console.WriteLine(ex); } } }