示例#1
0
 public Contact GetContact(IContacts acc, string nameOrPhoneNumber)
 {
     return(acc.GetContact(nameOrPhoneNumber));
 }
示例#2
0
        /// <summary>
        /// Fetch Contact information for particular contact Id
        /// </summary>
        /// <param name="id"></param>
        /// <returns>ContactModel</returns>
        public ContactModel GetContact(int id)
        {
            ContactDO contactDetailsDO = _iContacts.GetContact(id);

            return(Mapper.Mapper.MapToContactModel(contactDetailsDO));
        }
示例#3
0
 public Contact GetContact(IContacts acc, long id)
 {
     return(acc.GetContact(id));
 }