|
|
|
@ -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)
|
|
|
|
|