Esempio n. 1
0
        public ActionResult Index()
        {
            DashboardViewModel dvModel = new DashboardViewModel();

            DCEOperations dceOps = new DCEOperations();

            dvModel.CountTotalTemplates = dceOps.GetTotalTemplatesCount();

            AuthenticationsAndAuthorizationsOperations aNaOps = new AuthenticationsAndAuthorizationsOperations();

            dvModel.CountTotalWorkers = aNaOps.GetTotalUsersCount();
            dvModel.CountTotalRoles   = aNaOps.GetTotalRolesCount();

            DocumentsOperations docOps = new DocumentsOperations();

            dvModel.CountTotalDocuments = docOps.GetTotalFilesAndFolders();
            return(View(dvModel));
        }