public void LoadDetails() { IPurchaseHistoryBll.ClearSortAndFilters(); var p = IPurchaseHistoryBll.GetList(); MasterData = new ObservableCollection <PurchaseHistoryDto>(p); }
private void buttonSortByType_Click(object sender, EventArgs e) { PurchaseHistoryBll.SortByType(); ChangeInfoToGrid(PurchaseHistoryBll.GetList()); }
public void SetPurchaseHistoryBll(string login) { PurchaseHistoryBll = new PurchaseHistoryBll(login); ChangeInfoToGrid(PurchaseHistoryBll.GetList()); }