Exemple #1
0
        static void Main(string[] args)
        {
            enquete lol = db.enquetes.Find(1);

            SeqEnq(lol);
            foreach (var item in SeqEnq(lol))
            {
                Console.WriteLine(item.Intitule);
            }
            Console.ReadKey();
        }
Exemple #2
0
 public static List <sequence> SeqEnq(enquete enquete)
 {
     return(db.sequences.Where(x => x.enquete_id == enquete.id).ToList());
 }