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> /// /// </summary> /// <param name="searchValue"></param> /// <returns></returns> public static int Shipper_Count(string searchValue) { return(ShipperDB.Count(searchValue)); }