Exemple #1
0
        public List <string> LoadShoeSizeByShoe(string customerCode, string shoe)
        {
            var list  = ShoeDataProvider.LoadShoeSizeByShoe(shoe, customerCode);
            int count = 0;

            if (list == null)
            {
                count = 20;
            }
            else
            {
                count = 20 - list.Count;
            }

            for (int i = 0; i < count; i++)
            {
                list.Add(string.Empty);
            }
            return(list);
        }