예제 #1
0
        private CountPhotosInfo PrepareToUpdatePhotos(DateTimeOffset lastUpdatePhotos,
                                                      bool needLoadPhotos,
                                                      IEnumerable <long> ids)
        {
            CountPhotosInfo countPhotosInfo;

            using (PricelistServiceClient webService = GetWebService())
            {
                SecurityInfo securityInfo = CreateSecurityInfo();
                countPhotosInfo = webService.PrepareToUpdatePhotos(securityInfo,
                                                                   lastUpdatePhotos,
                                                                   needLoadPhotos,
                                                                   ids.ToArray());
            }

            return(countPhotosInfo);
        }