public static System.Data.DataTable GetProductSalesNoPage(SaleStatisticsQuery productSale, out int totalProductSales) { System.Data.DataTable result; if (productSale == null) { totalProductSales = 0; result = null; } else { result = new SaleStatisticDao().GetProductSalesNoPage(productSale, out totalProductSales); } return(result); }
public static IList <UserStatisticsInfo> GetUserStatistics(Pagination page, out int totalProductSaleVisits) { IList <UserStatisticsInfo> result; if (page == null) { totalProductSaleVisits = 0; result = null; } else { result = new SaleStatisticDao().GetUserStatistics(page, out totalProductSaleVisits); } return(result); }