Ejemplo n.º 1
0
 public IEnumerable <tblCustomer> GetCustomerScroll(int pageNumber, int pageSize)
 {
     try
     {
         int                IsPaging  = 1;
         CrudDataService    objCrd    = new CrudDataService();
         List <tblCustomer> modelCust = objCrd.GetCustomerList(pageNumber, pageSize, IsPaging);
         return(modelCust);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 2
0
 public IEnumerable <tblCustomer> GetCustomers(int pageSize)
 {
     try
     {
         int                pageNumber = 0;
         int                IsPaging   = 0;
         CrudDataService    objCrd     = new CrudDataService();
         List <tblCustomer> modelCust  = objCrd.GetCustomerList(pageNumber, pageSize, IsPaging);
         return(modelCust);
     }
     catch
     {
         throw;
     }
 }