public virtual BOPerson MapEFToBO(
            Person ef)
        {
            var bo = new BOPerson();

            bo.SetProperties(
                ef.BusinessEntityID,
                ef.AdditionalContactInfo,
                ef.Demographic,
                ef.EmailPromotion,
                ef.FirstName,
                ef.LastName,
                ef.MiddleName,
                ef.ModifiedDate,
                ef.NameStyle,
                ef.PersonType,
                ef.Rowguid,
                ef.Suffix,
                ef.Title);
            return(bo);
        }
        public virtual BOPerson MapModelToBO(
            int businessEntityID,
            ApiPersonRequestModel model
            )
        {
            BOPerson boPerson = new BOPerson();

            boPerson.SetProperties(
                businessEntityID,
                model.AdditionalContactInfo,
                model.Demographic,
                model.EmailPromotion,
                model.FirstName,
                model.LastName,
                model.MiddleName,
                model.ModifiedDate,
                model.NameStyle,
                model.PersonType,
                model.Rowguid,
                model.Suffix,
                model.Title);
            return(boPerson);
        }