/// <summary> /// delete a phase /// </summary> public void deletePhases() { foreach (Phase phase in PhaseRepository.All()) { PhaseRepository.Delete(phase); } }