예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="vehicleType"></param>
        /// <param name="venderName"></param>
        /// <returns></returns>
        public List <string> GetVendorFeatures(int vehicleType, string venderName)
        {
            var feature = new TblMotorDetailReader().GetVendorFeatures(vehicleType, venderName);

            if (!string.IsNullOrEmpty(feature))
            {
                feature.Split(';').ToList();
            }
            return(null);
        }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="vehicleType"></param>
        /// <returns></returns>
        public List <MotorVendorDetail> GetVendorDetails(int vehicleType)
        {
            var motorVendorDetails = new TblMotorDetailReader().GetVendorDetails(vehicleType);

            if (motorVendorDetails != null)
            {
                return(motorVendorDetails.Select(x => BusinessUtility.Copy <tblMotorVendorDetail, MotorVendorDetail>(x, new MotorVendorDetail())).ToList());
            }
            return(null);
        }