public OddSerializationList TransformData(List <OddValue> oddsValues)
        {
            OddSerializationList list = new OddSerializationList();

            for (int i = 0; i < 50; i++)
            {
                list.Add(CreateModel());
            }

            return(list);
        }
        public void Serialize(OddSerializationList oddSerialization)
        {
            XmlSerializer serializer = new XmlSerializer(typeof(OddSerializationList));

            using (TextWriter writer = new StreamWriter(Path))
            {
                var xmlnsEmpty = new XmlSerializerNamespaces();
                xmlnsEmpty.Add("", "");

                serializer.Serialize(writer, oddSerialization, xmlnsEmpty);
            }
        }
 public void Serialize(OddSerializationList oddSerialization)
 {
     Debug.WriteLine(nameof(Serialize));
 }