public Acquisition AcquisitionByCompteId(int compteId) { var service = new OperationRawServices(uow); var dernierDateChargement = service.GetDateDernierChargementByCompte(compteId); var derniereDateRaw = service.GetDateDerniereOpeRawByCompte(compteId); var rapproPossible = service.GetRapproPossible(compteId); return new Acquisition(dernierDateChargement, derniereDateRaw, rapproPossible); }
private void PopulateDropDownListForCreate(int CompteId) { // Services OperationRawServices rawSVC = new OperationRawServices(uow); // Dernier chargement string dateDernierChargement = rawSVC.GetDateDernierChargementByCompte(CompteId); ViewBag.DateDernierChargement = dateDernierChargement; string derniereOperation = rawSVC.GetDerniereOpeRawByCompte(CompteId); ViewBag.DerniereOperation = derniereOperation; }