Exemple #1
0
        public ServiceData()
        {
            dataBase = new DataBaseService();
            dataBase.Connection();
            CheckOrAddFuntionType();
            //Address address = new Address() { City = "Bielko-Bialau", Street = "Łaczna", PostalCode = "4635-11", PostNumber = "56" };
            ////address.AddressId = 5;
            //Person person = new Person("Staszek", "Hills", "2434553", address, PersonType.doctor);
            //person.Address = address;
            ////person.PersonId = 2;
            //AddPerson(person);

            // List<Person> persons = getPersons();
            // int id =  AddAddress(new Address() { City = "Zakopane", Street = "krótka", PostalCode = "34-3r", PostNumber = "3r" });
        }