Example #1
0
    /*
     * Pre:  The audition must have previously existed in the system
     * Post: The coordinates in the input list are removed from the system for each of the current student's auditions
     * @param coordinatesToRemove contains a list of coordinates that were removed
     *        from the audition
     */
    private void removeCoordinates(List <StudentCoordinateSimple> coordinatesToRemove)
    {
        List <int> currStudAuditionIds = DbInterfaceStudentAudition.GetStudentDistrictAuditionIds(DbInterfaceStudent.GetStudentYearId(student.id));

        foreach (int id in currStudAuditionIds)
        {
            DbInterfaceStudentAudition.RemoveAuditionCoordinates(coordinatesToRemove, id);
        }
    }