public virtual BOAddressType MapEFToBO(
            AddressType ef)
        {
            var bo = new BOAddressType();

            bo.SetProperties(
                ef.AddressTypeID,
                ef.ModifiedDate,
                ef.Name,
                ef.Rowguid);
            return(bo);
        }
Пример #2
0
        public virtual BOAddressType MapModelToBO(
            int addressTypeID,
            ApiAddressTypeRequestModel model
            )
        {
            BOAddressType boAddressType = new BOAddressType();

            boAddressType.SetProperties(
                addressTypeID,
                model.ModifiedDate,
                model.Name,
                model.Rowguid);
            return(boAddressType);
        }