@{ ViewBag.Title = "Dev Control Panel"; var db = new Project_Unite.Models.ApplicationDbContext(); int fixedbugs = db.Bugs.Where(x => x.Open == false).Count(); int notfixedbugs = db.Bugs.Where(x => x.Open == true).Count(); }
Here, have a bunch of charts that tell you what you already know!
Here's a pie chart that tells you how many bugs have been fixed.