Ejemplo n.º 1
0
        /// <summary>
        /// Insert example collectors
        /// </summary>
        private void InsertCollectors()
        {
            // Add some collectors
            Collector c1 = new Collector()
            {
                ID = 1, Number = "01234", Forename = "Ted", Surname = "Dob", Postcodes = "N7N [A-C],N78 [S-T]"
            };

            serviceLayer.AddCollector(c1);
            Collector c2 = new Collector()
            {
                ID = 1, Number = "02324", Forename = "Yov", Surname = "Vid", Postcodes = "N1BB,N192 [A-C]"
            };

            serviceLayer.AddCollector(c2);
        }