diff --git a/ParionsCuite/ParionsCuite.sln b/ParionsCuite/ParionsCuite.sln
index 5b1df92..c0d3348 100644
--- a/ParionsCuite/ParionsCuite.sln
+++ b/ParionsCuite/ParionsCuite.sln
@@ -5,11 +5,6 @@ VisualStudioVersion = 17.0.31611.283
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ParionsCuite", "ParionsCuite\ParionsCuite.csproj", "{695ECD3A-15DB-4B29-BC9D-E8CC87D92900}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modele", "Modele", "{02D846AB-B58D-4FDD-9895-E07929FE8A95}"
- ProjectSection(SolutionItems) = preProject
- Manager.cs = Manager.cs
- EndProjectSection
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
diff --git a/ParionsCuite/ParionsCuite/MainPage.xaml b/ParionsCuite/ParionsCuite/MainPage.xaml
index f8cef80..1caaac8 100644
--- a/ParionsCuite/ParionsCuite/MainPage.xaml
+++ b/ParionsCuite/ParionsCuite/MainPage.xaml
@@ -71,7 +71,7 @@
-
+
diff --git a/ParionsCuite/ParionsCuite/Modeles/Autre.cs b/ParionsCuite/ParionsCuite/Modeles/Autre.cs
new file mode 100644
index 0000000..cd595c3
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Autre.cs
@@ -0,0 +1,22 @@
+using System;
+
+namespace ParionsCuite.Modeles
+{
+ public class Autre
+ {
+ public string Nom { get; set; }
+ public decimal Quantite { get; set; }
+
+ public Autre(string nom, decimal Quantite)
+ {
+ this.Nom = nom;
+ this.Quantite = Quantite;
+ }
+
+ public override string ToString()
+ {
+ return $"nom : {Nom}, quantité : {Quantite} \n";
+ }
+ }
+}
+
diff --git a/ParionsCuite/ParionsCuite/Modeles/Boissons.cs b/ParionsCuite/ParionsCuite/Modeles/Boissons.cs
new file mode 100644
index 0000000..e365d3e
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Boissons.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace ParionsCuite.Modeles
+{
+ public class Boissons
+ {
+ public string Nom { get; set; }
+ public decimal Quantite { get; set; }
+
+ public Boissons(string nom, decimal Quantite)
+ {
+ this.Nom = nom;
+ this.Quantite = Quantite;
+ }
+
+ public override string ToString()
+ {
+ return $"nom : {Nom}, quantité : {Quantite} \n";
+ }
+
+ }
+}
+
diff --git a/ParionsCuite/ParionsCuite/Modeles/Evenement.cs b/ParionsCuite/ParionsCuite/Modeles/Evenement.cs
new file mode 100644
index 0000000..450fbb2
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Evenement.cs
@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ParionsCuite.Modeles
+{
+ public class Evenement
+ {
+ public string nom { get; private set; }
+
+
+ public DateTime date { get; private set; }
+
+ public string lieu { get; private set; }
+
+ public int heure { get; private set; }
+
+ public int minute { get; private set; }
+
+ public Participation participation { get; private set; }
+
+ Evenement(string nom, DateTime date, string lieu, int heure, int minute, Participation participation)
+ {
+ this.nom = nom;
+ this.date = date;
+ this.lieu = lieu;
+ this.heure = heure;
+ this.minute = minute;
+ this.participation = participation;
+ List list_inviter = new List();
+ List list_parie = new List();
+ }
+
+ void setEvenement(string nom, DateTime date, string lieu, int heure, int minute)
+ {
+ this.nom = nom;
+ this.date = date;
+ this.lieu = lieu;
+ this.heure = heure;
+ this.minute = minute;
+ return;
+ }
+ }
+}
diff --git a/ParionsCuite/ParionsCuite/Modeles/Inviter.cs b/ParionsCuite/ParionsCuite/Modeles/Inviter.cs
new file mode 100644
index 0000000..7de0d65
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Inviter.cs
@@ -0,0 +1,23 @@
+using System;
+namespace ParionsCuite.Modeles
+{
+ public class Inviter
+ {
+ public string Nom;
+ public string Prenom;
+
+ public Inviter(string nom, string prenom)
+ {
+ this.Nom = nom;
+ this.Prenom = prenom;
+ }
+
+ public override string ToString()
+ {
+ return $"nom : {Nom}, prenom : {Prenom} \n";
+ }
+
+
+ }
+}
+
diff --git a/ParionsCuite/ParionsCuite/Modeles/Manageur.cs b/ParionsCuite/ParionsCuite/Modeles/Manageur.cs
new file mode 100644
index 0000000..77705dd
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Manageur.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ParionsCuite.Modeles
+{
+ public class Manageur
+ {
+ public string nom { get; private set; }
+
+ public string prenom { get; private set; }
+
+ Manageur(string nom, string prenom)
+ {
+ this.nom = nom;
+ this.prenom = prenom;
+ List list_evenements = new List();
+ }
+
+ }
+}
diff --git a/ParionsCuite/ParionsCuite/Modeles/Nourriture.cs b/ParionsCuite/ParionsCuite/Modeles/Nourriture.cs
new file mode 100644
index 0000000..f4bd8eb
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Nourriture.cs
@@ -0,0 +1,21 @@
+using System;
+namespace ParionsCuite.Modeles
+{
+ public class Nourriture
+ {
+ public string Nom { get; set; }
+ public decimal Quantite { get; set; }
+
+ public Nourriture(string nom, decimal quantite)
+ {
+ this.Nom = nom;
+ Quantite = quantite;
+ }
+
+ public override string ToString()
+ {
+ return $"nom : {Nom}, quantité : {Quantite} \n";
+ }
+ }
+}
+
diff --git a/ParionsCuite/ParionsCuite/Modeles/Parier.cs b/ParionsCuite/ParionsCuite/Modeles/Parier.cs
new file mode 100644
index 0000000..a2c3c90
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Parier.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ParionsCuite.Modeles
+{
+ public class Parier
+ {
+ public Inviter i1;
+ public Inviter i2;
+
+ public string but { get; private set; }
+
+ public string enjeu { get; private set; }
+
+ public override string ToString()
+ {
+ return $"joueur n°1 : {i1}, \njoueur n°2 : {i2}, \nbut : {but}, enjeux : {enjeu}";
+ }
+ }
+}
diff --git a/ParionsCuite/ParionsCuite/Modeles/Participation.cs b/ParionsCuite/ParionsCuite/Modeles/Participation.cs
new file mode 100644
index 0000000..b347f3e
--- /dev/null
+++ b/ParionsCuite/ParionsCuite/Modeles/Participation.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ParionsCuite.Modeles
+{
+ public class Participation
+ {
+ Participation()
+ {
+ List list_boisson = new List();
+ List list_autre = new List();
+ List list_nourriture = new List();
+ }
+
+
+ }
+}
diff --git a/ParionsCuite/ParionsCuite/ParionsCuite.csproj b/ParionsCuite/ParionsCuite/ParionsCuite.csproj
index 82c1c37..32ea742 100644
--- a/ParionsCuite/ParionsCuite/ParionsCuite.csproj
+++ b/ParionsCuite/ParionsCuite/ParionsCuite.csproj
@@ -33,6 +33,9 @@
false
+
+ false
+
@@ -79,6 +82,7 @@
+