Exemplo n.º 1
0
        public bool InsertContacts(Contacts _objContactsData)
        {
            try
            {
                bl_Contacts _objContacts = new bl_Contacts();

                return(_objContacts.InsertContacts(_objContactsData));
            }
            catch (Exception exp)
            {
                ExceptionMessage = exp.Message;
                return(false);
            }
        }
Exemplo n.º 2
0
        public List <Contacts> ReadContacts(string ContactId, string ContactOf)
        {
            List <Contacts> _lstContacts = new List <Contacts>();

            try
            {
                bl_Contacts _objContacts = new bl_Contacts();
                _lstContacts = _objContacts.ReadContacts(ContactId, ContactOf);
            }
            catch (Exception exp)
            {
                ExceptionMessage = exp.Message;
            }

            return(_lstContacts);
        }