Exemplo n.º 1
0
 public static List <Supplier> ListOfSupplier(int page, int pageSize, string searchValue, out int rowCount)
 {
     if (page < 1)
     {
         page = 1;
     }
     rowCount = SupplierDB.Count(searchValue);
     return(SupplierDB.List(page, pageSize, searchValue));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Đếm số Supplier
 /// </summary>
 /// <param name="searchValue"></param>
 /// <returns></returns>
 public static int Supplier_Count(string searchValue)
 {
     return(SupplierDB.Count(searchValue));
 }
Exemplo n.º 3
0
 public static int Supplier_Count(string searchValue, string country)
 {
     return(SupplierDB.Count(searchValue, country));
 }