public void CreateAdvert()
 {
     var advert = Advert();
     var client = new ServiceReference1.PersistenceServiceClient();
     var result = client.CreateAdvert(advert);
     //Assert.AreEqual(advert.Id, result.Id, "Objects are equal");
 }
        public void UpdateUser()
        {
            var user = new User
            {
                Login    = "******",
                Name     = "Tomek",
                Email    = "*****@*****.**",
                Password = "******"
            };
            var client = new ServiceReference1.PersistenceServiceClient();

            client.UpdateUser(user);
        }
        public void IsLoggedin()
        {
            var client = new ServiceReference1.PersistenceServiceClient();

            client.IsLoggedIn();
        }
        public void Login()
        {
            var client = new ServiceReference1.PersistenceServiceClient();

            client.Login("Test", "testowe,.123");
        }
        public void GetUsers()
        {
            var client = new ServiceReference1.PersistenceServiceClient();

            client.GetUsers();
        }
        public void GetAdvertStatus()
        {
            var client = new ServiceReference1.PersistenceServiceClient();

            client.GetAdvertStatus(1);
        }