Exemplo n.º 1
0
        public void DemanderDecouvert(Salarie salarie, double montantDecouvert, Employe employe)
        {
            operationBLO = new OperationBLO();
            creditBLO    = new CreditBLO();

            creditBLO.DemanderCredit(TypeCredit.A_court_terme, 1, salarie.CompteClientEmploye.Client, new Garantie(0), montantDecouvert, employe);

            operationBLO.AjouterOperation(TypeOperation.Credit, employe, salarie.CompteClientEmploye.Client, new CompteClient("Indefini"),
                                          montantDecouvert, "toto tata");
        }