Ejemplo n.º 1
0
        /// <summary>
        /// 获取客户类型
        /// </summary>
        /// <returns></returns>
        private List <SelectListModel> GetCustomerTypeList()
        {
            var list = new List <SelectListModel>();

            _freightService.GetCustomerTypeList().ForEach(p =>
            {
                list.Add(new SelectListModel()
                {
                    SelectName  = p.CustomerTypeName,
                    SelectValue = p.CustomerTypeId.ToString()
                });
            });
            return(list);
        }