示例#1
0
        public void DeleteContact(int id)
        {
            ContactsDA da = new ContactsDA();

            da.DeleteContact(id);
        }
示例#2
0
        public void UpdateContact(int id, string name, string email, string address, string country, string city, string phone, string photoUrl)
        {
            ContactsDA da = new ContactsDA();

            da.UpdateContact(id, name, email, address, country, city, phone, photoUrl);
        }
示例#3
0
        public void AddContact(string name, string email, string address, string country, string city, string phone, string photoUrl)
        {
            ContactsDA da = new ContactsDA();

            da.AddContact(name, email, address, country, city, phone, photoUrl);
        }
示例#4
0
        public List <ContactCountry> GetCountries()
        {
            ContactsDA da = new ContactsDA();

            return(da.GetCountries());
        }
示例#5
0
        public List <ContactCity> GetCities(string country)
        {
            ContactsDA da = new ContactsDA();

            return(da.GetCities(country));
        }
示例#6
0
        public List <Contact> GetAllContacts(string account_email)
        {
            ContactsDA da = new ContactsDA();

            return(da.GetAllContacts(account_email));
        }