Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (db.Users.Any())
- {
- ViewBag.UsersRole = true;
- ViewBag.AdminCount = uh.UsersInRole("Administrator").Count();
- ViewBag.PMCount = uh.UsersInRole("Project Manager").Count();
- ViewBag.DevCount = uh.UsersInRole("Developer").Count();
- ViewBag.SubCount = uh.UsersInRole("Submitter").Count();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement