public DashboardDto(IBusinessData from) { CA = from.CA; MontantDus = from .GetFactures(DateTime.Now, null) .Select(f => new MontantDuDto(f)); }
public DashboardDto(IBusinessData from) { CA = from.Factures.Sum(f => f.Montant); MontantDu = from .GetFactures(DateTime.Now);