public static List<int> getDogsInClass(int ClassID, bool graded)
 {
     String moduleSettings = ModuleConfig.GetSettings();
     Data.ShowClasses sc = new Fpp.WebModules.Data.ShowClasses(moduleSettings);
     List<int> counts = new List<int>();
     DataSet ds = sc.getDogsInClass(ClassID, graded);
     foreach (DataRow row in ds.Tables[0].Rows)
     {
         counts.Add( Convert.ToInt32( row["Count"]) );
     }
     return counts;
 }