Exemplo n.º 1
0
        public ActionResult Index(int id = 0)
        {
            //var listDataTarifs = entityWork.GetTarifs();

            var abonentsModel = new AbonentModel {
                Abonents = entityWork.GetAbonents(PageSize, id)
            };

            return(View(abonentsModel));
        }
Exemplo n.º 2
0
        private void FormViewOnNextPage(object sender, EventArgs eventArgs)
        {
            var entityWork = new EntityWork();

            _formView.listDataAbonent = entityWork.GetAbonents(_formView.pageSize, _formView.pageNum * _formView.pageSize, _formView.nOrder);
        }