public FormulaireGroupeVM() {
			this.CreateRepositories();
			this.CurrentGroupe = new Groupe();
			this.UCParentCode = CodesUC.ConsultationGroupes;
			this.PopulateCombos();

			this.CurrentGroupe.Saison = this.repoSaison.GetAll().Where(s => s.EstSaisonCourante).FirstOrDefault();
		}
		public static ICollection<ReportListeAdherents> GroupeToReportListeAdherents(Groupe groupe) {
			return InscriptionsToListeAdherents(
				groupe.Inscriptions.Where(i => i.StatutInscription.Ordre != 3).ToList()
			);
		}
		public override void ExecuteShowDetailsCommand(object selectedItem) {
			if (selectedItem is Adherent) {
				this.SelectedGroupe = selectedItem as Groupe;
			}
		}
		public override void ExecuteDeleteCommand() {
			if (this.SelectedGroupe != null) {
				this.repoMain.Delete(this.SelectedGroupe);
				this.repoMain.Save();

				this.PopulateGroupes();
				this.SelectedGroupe = this.Groupes.FirstOrDefault();
				this.ShowUserNotification(ResGroupes.InfoGroupeSupprime);
			}
		}