public static void updateJudgeClasses(int ClassID, int JudgeID, int ShowDetailsID)
        {
            String moduleSettings = ModuleConfig.GetSettings();
            Data.ShowClasses sc = new Fpp.WebModules.Data.ShowClasses(moduleSettings);

            sc.updateJudgeClasses(ClassID, JudgeID);

            Judge.UpdateJudge(JudgeID, ShowDetailsID);
        }
 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;
 }
        public static DataSet getGradedClassTotals(int ShowID)
        {
            String moduleSettings = ModuleConfig.GetSettings();
            Data.ShowClasses sc = new Fpp.WebModules.Data.ShowClasses(moduleSettings);

            return sc.getGradedClassTotals(ShowID);
        }
        public static List<ShowClasses> GetAllClassesForShowRing(int ShowID, int RingID)
        {
            String moduleSettings = ModuleConfig.GetSettings();
            Data.ShowClasses sc = new Fpp.WebModules.Data.ShowClasses(moduleSettings);
            List<ShowClasses> classesList = new List<ShowClasses>();
            DataSet ds = sc.getAllClassesForShowRing(ShowID, RingID);

            foreach (DataRow row in ds.Tables[0].Rows)
            {
                classesList.Add(new ShowClasses(row));
            }
            return classesList;
        }