Example #1
0
        public ResultObj <List <ClassModel> > GetGroupProduct(string salesDateStart = "", string salesDateEnd = "", string clientId = "", bool needPage = false, int pageIndex = 1, int pageSize = 10)
        {
            if (string.IsNullOrEmpty(salesDateStart) || string.IsNullOrEmpty(salesDateEnd))
            {
                return(null);
            }
            IStatistic istatistic = new StatisticService();

            return(Content(istatistic.GetGroupProduct(salesDateStart, salesDateEnd, clientId, needPage, pageIndex, pageSize)));
        }