Example #1
0
 public static List <Shipper> ListOfShipper(int page, int pageSize, string searchValue, out int rowCount)
 {
     if (page < 1)
     {
         page = 1;
     }
     rowCount = ShipperDB.Count(searchValue);
     return(ShipperDB.List(page, pageSize, searchValue));
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="searchValue"></param>
 /// <returns></returns>
 public static int Shipper_Count(string searchValue)
 {
     return(ShipperDB.Count(searchValue));
 }