admin.count.go
func getApplicationCountHandler
Here rid refers to Recruitment Cycle ID
- It returns the total role count and recruitment count in a rid.
Role count is fetched using the function:
func fetchRolesCount(ctx, rid)
- This takes rid as a parameter
Mentioned in application/db.proforma
Similarly, Recruitment Count is fetched using the function:
func fetchRecruitedCount(ctx, rid)
- This also takes rid as a parameter
Mentioned in application/db.proforma