Exemplo n.º 1
0
        public List <TruckModel> GetTrucksWithPage(int pageIndex, int pageSize, out int totalCount)
        {
            TruckDal dal = new TruckDal();

            return(dal.GetTrucks(pageIndex, pageSize, out totalCount));
        }
Exemplo n.º 2
0
 public void TestMethodPage()
 {
     TruckDal          dal        = new TruckDal();
     int               totalCount = 0;
     List <TruckModel> result     = dal.GetTrucks(1, 5, out totalCount);
 }