Пример #1
0
        //View Trend Chart for each dept
        public IActionResult GetTotalReqForEachDept(List <int> deptlist)
        {
            List <TrendDeptAndRequisitionByMonth> trenddeptandrequ = reqservice.GetTotalReqForEachDeptForTrend(deptlist);

            if (trenddeptandrequ != null)
            {
                return(new JsonResult(trenddeptandrequ));
            }
            else
            {
                return(new JsonResult(new { success = "" }));
            }
        }