示例#1
0
        public static IList <Business.Blob> TranslateFromServiceToBusiness(DataContracts.BlobCollection serviceItems)
        {
            if (serviceItems == null)
            {
                return(null);
            }

            IList <Business.Blob> businessItems = new List <Business.Blob>();

            foreach (DataContracts.Blob serviceItem in serviceItems)
            {
                businessItems.Add(BlobTranslator.TranslateFromServiceToBusiness(serviceItem));
            }

            return(businessItems);
        }