protected override void OnStartup(StartupEventArgs e) { //EbayService.InitializeEbay(); AllegroService.InitializeAllegro(); //Mapper.Initialize(cfg => { }); base.OnStartup(e); TimerEvent.InitializeTimer(); }
public void UpdateAllegroData() { _allegroItem = AllegroService.GetItemById(CoinDB.CoinId); _allegroOnSaleCount = AllegroService.GetItemCountById(CoinDB.CoinId); OnPropertyChanged(nameof(HasSuperfluousItemOnAllegroSale)); OnPropertyChanged(nameof(IsOnAllegroSale)); OnPropertyChanged(nameof(AllegroItemLink)); OnPropertyChanged(nameof(AllegroItemEndTime)); OnPropertyChanged(nameof(AllegroItemTitle)); OnPropertyChanged(nameof(AllegroItemViewsCount)); OnPropertyChanged(nameof(AllegroItemWatchersCount)); OnPropertyChanged(nameof(AllegroItemBiddersCount)); OnPropertyChanged(nameof(AllegroItemHighBidderLogin)); }