Create new Dashboard Folder and Put this controller into this
countUsersByRole: Reaname this to getDashboardCount
Update Mesage
OldMessage :User counts by role and policy counts by category retrieved successfully
new Message: Dashboard Count retrieved successfully
OldMessage :Error counting users by role and policies
new Message:Something went goes wrong
agentDashboardController
Put this controller into Dashboard Folder
countPoliciesByPartnerIdAndCategory
Reaname this to getAgentDashboardCount
OldMessage: Partner ID is required
New Message:Partner Id is required
adminDashboardController
Create new Dashboard Folder and Put this controller into this countUsersByRole: Reaname this to getDashboardCount Update Mesage OldMessage :User counts by role and policy counts by category retrieved successfully new Message: Dashboard Count retrieved successfully OldMessage :Error counting users by role and policies new Message:Something went goes wrong
agentDashboardController
Put this controller into Dashboard Folder
countPoliciesByPartnerIdAndCategory Reaname this to getAgentDashboardCount
OldMessage: Partner ID is required New Message:Partner Id is required