Correction de conflit
pull/34/head
Rémi LAVERGNE 2 years ago
parent 51ebced5c3
commit 0d702428ac

@ -1,3 +1,4 @@
<<<<<<< HEAD
using System;
using System.Collections.Generic;
using System.Linq;
@ -14,3 +15,20 @@ namespace GameAtlas.Models
}
}
=======
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameAtlas.Models
{
public interface IPersistanceManager
{
List<Utilisateur> ChargeDonnees();
void SauvDonnees(List<Utilisateur> utilisateurs);
}
}
>>>>>>> 192f86a (N/A)

@ -1,3 +1,4 @@
<<<<<<< HEAD
using GameAtlas.Models;
using System;
using System.Collections.Generic;
@ -28,3 +29,33 @@ namespace GameAtlas.Stub
}
}
}
=======
using GameAtlas.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameAtlas.Stub
{
public class Stub : IPersistanceManager
{
public List<Utilisateur> ChargeDonnees()
{
List<Utilisateur> ListUsers = new List<Utilisateur>();
Utilisateur user1 = new Utilisateur("gmail@gmail.com", "MrLilian24", "mdp_Tres_Securise000");
ListUsers.Add(user1);
return ListUsers;
}
public void SauvDonnees(List<Utilisateur> utilisateurs)
{
using (FileStream fs = new FileStream(@"C:\data.xml", FileMode.OpenOrCreate))
{
throw new NotImplementedException();
}
}
}
}
>>>>>>> 192f86a (N/A)

Loading…
Cancel
Save