public static IList <ImgDescView> ToViews(ImgJsonCollection imgJsonCollection) { IList <ImgDescView> results = new List <ImgDescView>(); foreach (var item in imgJsonCollection) { if (item != null) { results.Add(ToView(item)); } } return(results); }
public ImgJsonCollection GetImgCollections(int skuId) { _imgJsons = new ImgJsonCollection(skuId, this.PicAndDesc); return(_imgJsons); }