public bool InsertContacts(Contacts _objContactsData) { try { bl_Contacts _objContacts = new bl_Contacts(); return(_objContacts.InsertContacts(_objContactsData)); } catch (Exception exp) { ExceptionMessage = exp.Message; return(false); } }
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); }