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)); }
/// <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)); }
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)); }
/// <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)); }
/// <summary> /// Thông tin của người giao hàng /// </summary> /// <returns></returns> public static List <Shipper> Shipper_List() { return(ShipperDB.List()); }
/// <summary> /// Lay ra danh sach Shipper /// </summary> /// <returns></returns> public static List <Shipper> ListOfShipper() { return(ShipperDB.List(1, -1, "")); }