Пример #1
0
 public DummyBusinessData()
 {
     Factures = new ClassFacture[]
     {
         new ClassFacture("EDF", new DateTime(2020, 07, 30), new DateTime(2020, 08, 11), "17000", "25000"),
         new ClassFacture("FRE", new DateTime(2020, 01, 22), new DateTime(2020, 02, 11), "36000", "15000"),
         new ClassFacture("OPM", new DateTime(2020, 11, 12), new DateTime(2020, 12, 11), "7000", "0")
     };
 }
Пример #2
0
 public IEnumerable <ClassFacture> GetFactures(DateTime?debut, DateTime?fin) =>
 ClassFacture.Where(f => (!debut.HasValue || f.MontantRegle >= debut));