public void RefreshData() { //ProductList = pandsRepository.GetAllPandS(); //ProductAndServices = new ObservableCollection<PandSDetailsModel>(ProductList); ProductList = pandsRepository.GetPandSComboList(); ProductAndServices = new ObservableCollection <PandSListModel>(ProductList); #region "To get Category Contents" var cat1 = pqRepository.GetCategoryContent("CNR".Trim()); if (cat1 != null) { this.TermsAndConditions = Convert.ToString(cat1); TandC = Convert.ToString(cat1); } #endregion #region "Get Supplier Details" var suppliers = supplierRepository.GetAllCustomers(); if (suppliers != null) { LstCustomers = suppliers.ToList(); } #endregion }