Пример #1
0
 public DashboardDto(IBusinessData from)
 {
     CA         = from.CA;
     MontantDus = from
                  .GetFactures(DateTime.Now, null)
                  .Select(f => new MontantDuDto(f));
 }
Пример #2
0
 public DashboardDto(IBusinessData from)
 {
     CA = from.Factures.Sum(f => f.Montant);
     MontantDu = from
         .GetFactures(DateTime.Now);