Exemple #1
0
        public static void Delete(int ID)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            objCaller.Delete(ID);
        }
Exemple #2
0
        public static IList<Contact> GetAll()
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            return objCaller.GetAll();
        }
Exemple #3
0
        public static IList<Contact> GetByGroupID(int groupID)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            return objCaller.GetByGroupID(groupID);
        }
Exemple #4
0
        public static Contact GetbyGuid(string guid)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            return objCaller.GetByGuid(guid);
        }
Exemple #5
0
        public static Contact GetByEmail(string email)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            return objCaller.GetByEmail(email);
        }
Exemple #6
0
        public static Contact GetByID(int ID)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            return objCaller.GetByID(ID);
        }
Exemple #7
0
        public static IList<int> GetGroupsByContactId(int contactID)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            return objCaller.GetContactsGroup(contactID);
        }
Exemple #8
0
        public static void DeleteContactsFromGroup(int contactID, int groupID)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            objCaller.DeleteContactfromGroup(contactID, groupID);
        }
Exemple #9
0
        public static void DeleteAllGroupContacts(int groupID)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            objCaller.DeleteContactfromGroup(groupID);
        }
Exemple #10
0
        public static void AssignContacttoGroup(int contactID, int GroupID)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            objCaller.AssignContacttoGroup(contactID, GroupID);
        }
Exemple #11
0
        public static void Update(Contact obj)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            objCaller.Update(obj);
        }
Exemple #12
0
        public static int Add(Contact obj)
        {
            ContactDataMapper objCaller = new ContactDataMapper();

            return objCaller.Add(obj);
        }