Esempio n. 1
0
        public ActionResult QueryProjects(string projectName, string projectType, string status, DateTime?beginTime, DateTime?endTime, int pageIndex, int pageSize)
        {
            StatisticLogic      logic = new StatisticLogic();
            int                 rowCount;
            List <SumHourModel> results = logic.QueryProjects(projectName, projectType, status, beginTime, endTime, pageIndex, pageSize, out rowCount);

            return(Json(new { Result = results, RowCount = rowCount }));
        }