public GetRelationshipResponse GetContactRelationships(int contactID)
        {
            GetRelationshipResponse response     = new GetRelationshipResponse();
            RelationshipViewModel   Relationship = new RelationshipViewModel();

            Relationship.Relationshipentry = Mapper.Map <IEnumerable <ContactRelationship>, IEnumerable <RelationshipEntry> >(contactRelationshipRepository.FindContactRelationship(contactID)).ToList();
            foreach (RelationshipEntry entry in Relationship.Relationshipentry)
            {
                if (entry.RelatedContactID == contactID)
                {
                    entry.RelationshipTypeName = "Associated Contact";
                    entry.RelatedContact       = entry.ContactName;
                    entry.RelatedContactID     = entry.ContactId;
                }
            }
            response.RelationshipViewModel = Relationship;
            return(response);
        }