/* * Pre: The compositions must have previously existed in the database * Post: The composition and theory points are updated in the database */ public bool submitPoints() { bool success = true; foreach (AuditionCompositions audComp in compositions) { success = success && DbInterfaceStudentAudition.UpdateAuditionCompositionPoints(this, audComp, "District"); } success = success && DbInterfaceStudentAudition.UpdateAuditionTheoryPoints(this, theoryPoints); //add partner points if audition is a duet if (auditionType.ToUpper().Equals("DUET")) { submitDuetPartnerPoints(); } return(success); }