You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
970 B
37 lines
970 B
using System;
|
|
using System.Collections.Generic;
|
|
using ParionsCuite.Modeles;
|
|
namespace ParionsCuite.Stub;
|
|
|
|
public class Stub : IPersistanceManager
|
|
{
|
|
public Stub()
|
|
{
|
|
}
|
|
|
|
public List<Evenement> chargeDonnees()
|
|
{
|
|
List<Evenement> lisEvent = new List<Evenement>();
|
|
Boissons b = new("lzn");
|
|
var boissons = new Dictionary<Boissons, int>();
|
|
boissons[b] = 3;
|
|
Nourriture n = new("slkdbv");
|
|
var nourriture = new Dictionary<Nourriture, int>();
|
|
nourriture[n] = 3;
|
|
Autre a = new("skjdbv");
|
|
var autre = new Dictionary<Autre, int>();
|
|
autre[a] = 3;
|
|
DateTime dt = new(2018, 7, 24);
|
|
Participation p = new(boissons, nourriture, autre);
|
|
Evenement e = new ("nom", dt, "lieu", 12, 23, p);
|
|
lisEvent.Add(e);
|
|
return lisEvent;
|
|
}
|
|
|
|
public void sauvegardeDonnees(List<Evenement> evenements)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
|