示例#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));
 }
示例#2
0
 /// <summary>
 /// Danh sách shipper
 /// </summary>
 /// <param name="page">trang</param>
 /// <param name="pageSize">tổng số trang</param>
 /// <param name="searchValue">giá trị tìm kiếm</param>
 /// <returns></returns>
 public static List <Shipper> Shippers_List(int page, int pageSize, string searchValue)
 {
     if (page < 1)
     {
         page = 1;
     }
     if (pageSize <= 0)
     {
         pageSize = 30;
     }
     return(ShipperDB.List(page, pageSize, searchValue));
 }
示例#3
0
 public static List <Shipper> ListOfShippers(int page, int pageSize, string searchValue)
 {
     if (page < 1)
     {
         page = 1;
     }
     if (pageSize < 0)
     {
         pageSize = 2000;
     }
     return(ShipperDB.List(page, pageSize, searchValue));
 }
示例#4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="page"></param>
 /// <param name="pageSize"></param>
 /// <param name="searchValue"></param>
 /// <returns></returns>
 public static List <Shipper> Shipper_List(string searchValue)
 {
     return(ShipperDB.List(searchValue));
 }
示例#5
0
 /// <summary>
 /// Thông tin của người giao hàng
 /// </summary>
 /// <returns></returns>
 public static List <Shipper> Shipper_List()
 {
     return(ShipperDB.List());
 }
示例#6
0
 /// <summary>
 /// Lay ra danh sach Shipper
 /// </summary>
 /// <returns></returns>
 public static List <Shipper> ListOfShipper()
 {
     return(ShipperDB.List(1, -1, ""));
 }