コード例 #1
0
        public ActionResult Index()
        {
            var obj = new HomeViewModel();

            obj.EmployeeDashboardList = _blogrepo.employeeDashboards();
            obj.DashBoardItem         = _blogrepo.EmployeeDashboardsCount();
            obj.GettodoItems          = _blogrepo.GetToDo();
            return(View(obj));
        }