Example #1
0
        public ActionResult Index()
        {
            var model = new DashboardViewModel();

            model.AuditAllRequest     = auditRepository.AllRequestCount();
            model.AuditUnDone         = auditRepository.GetUnDoneCount();
            model.AuditUnRead         = auditRepository.GetUnReadCount();
            model.CarManufactureCount = carManufactureRepository.CarManufactureCount();
            model.CarModelCount       = carModelRepository.CarModelCount();
            model.CarDetailCount      = carDetailRepository.CarDetailCount();
            return(View(model));
        }