public void addTerritory()
        {
            Territories territory = new Territories("98101", "neka teritorija", 3);

            index = repo.addTerritory(territory);
            Assert.IsNotNull(index);
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Territories           territory = new Territories("98200", "Regulary", 3);
            TerritoriesRepository repo      = new TerritoriesRepository();
            string res = repo.addTerritory(territory);

            Console.WriteLine(res);
        }