public void Sync(List <PSmartStoreInfo> infos)
        {
            var stores = PSmartStore.Create(infos);

            _pSmartStoreRepository.InsertOrUpdate(stores);
            _pSmartStoreRepository.Save();
        }
        public void Sync(PSmartStoreInfo info)
        {
            var pSmartStore = PSmartStore.Create(info);

            _pSmartStoreRepository.InsertOrUpdate(pSmartStore);
            _pSmartStoreRepository.Save();
        }
Exemple #3
0
        public void UpdateSmartCardShr(Guid clientId, string shr)
        {
            var storeSummary = PSmartStore.Create(shr, clientId);

            _pSmartStoreRepository.SaveOrUpdate(storeSummary);
        }