コード例 #1
0
ファイル: Raw.cs プロジェクト: paulkornikov/Pragonas
        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);
        }
コード例 #2
0
        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;
        }