public ContactTypeWrapper ToContactTypeWrapper(ListItem listItem) { var result = new ContactTypeWrapper(listItem) { RelativeItemsCount = DaoFactory.GetListItemDao().GetRelativeItemsCount(ListType.ContactType, listItem.ID) }; return(result); }
public ContactType(ContactTypeWrapper contactTypeWrapper) { ContactTypeID = contactTypeWrapper.ContactTypeID; Name = contactTypeWrapper.Name; ModifiedDate = contactTypeWrapper.ModifiedDate; }