private void LoadHistoryList(object sender, DoWorkEventArgs e) { StatusHistoryList.Clear(); StatusHistoryList = new ObservableCollection <AccountsStatusDetailsSet>(_accountStatusService.GetStatusesById(CurrentAccount.Id)); _worker.DoWork -= LoadHistoryList; }
private void LoadHistoryStatus(int id) { StatusHistoryList = new ObservableCollection <AccountsStatusDetailsSet>(_accountStatusService.GetStatusesById(id)); }