Exemplo n.º 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
            });
        }
Exemplo n.º 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
            };
        }