public void LoadData() { view.bindingList = repo.GetAll( view.page, view.itemsPerPage, view.search, view.sortBy, view.ascending); view.totalItems = repo.TotalItems; view.tipusList = tipusrepo.GetAll(); }
public void LoadData() { view.ugyfelList = ugyfelRepo.GetAll().Select(x => x.TeljesNev).ToArray(); view.jarmuList = jarmuRepo.GetAll().Where(x => x.elerheto == true).Select(x => x.rendszam).ToArray(); }