public void LoadData()
 {
     using (var jkrepo = new TapanyagRepository())
     {
         view.bindingList = repo.getAllTapanyag(view.pageNumber, view.itemsPerPage, view.search, view.sortBy, view.ascending);
     }
 }
示例#2
0
 public TablazatPresenter(ITablazatView tablazatView)
 {
     this.repo = new TapanyagRepository();
     this.view = tablazatView;
 }
 public TablazatPresenter(ITablazatView param)
 {
     view = param;
     repo = new TapanyagRepository();
 }