public void RefreshData() { //this.LedgerList = ledgerRepo.LedgerList(); this.ShowAllTrue = true; this.StartEndDateTrue = false; this.YearmonthQuartTrue = false; this.JsonData = ledgerRepository.GetLastSelectionData(Convert.ToInt32(ScreenId.LedgerList)); this.YearRange = purchaseRepository.GetYearRange().ToList(); this.LedgerList = ledgerRepository.LedgerList(this.JsonData).ToList(); SetDefaultSearchSelection(JsonData); }