Exemple #1
0
        private CustomerTypeBO MapCustomerType(LibCustomerType libCustType)
        {
            if (libCustType == null)
            {
                return(null);
            }

            return(new CustomerTypeBO()
            {
                Id = libCustType.Id,
                Code = libCustType.Code,
                Name = libCustType.Name,
                Description = libCustType.Description
            });
        }
Exemple #2
0
        private CustomerTypeBO MapCustomerType(LibCustomerType libCustType)
        {
            if (libCustType == null) return null;

            return new CustomerTypeBO()
            {
                Id = libCustType.Id,
                Code = libCustType.Code,
                Name = libCustType.Name,
                Description = libCustType.Description
            };
        }