예제 #1
0
        public KundeDetailPresenter(IKundenService kundenService, IKundeDetailView kundeDetailView, BankPresenter bankPresenter, IZinssatzFactory zinssatzFactory)
        {
            try
            {
                _kundenService = kundenService;
                _kundeDetailView = kundeDetailView;
                _bankPresenter = bankPresenter;
                _zinssatzFactory = zinssatzFactory;

                _kundeDetailView.KundeDetailAnsicht = new KundenDetailModel();
                _kundeDetailView.Initialisieren(this);
            }
            catch (Exception exception)
            {
                FehlerLoggen(exception.Message);
            }
        }
예제 #2
0
        public KundeDetailPresenter(IKundenService kundenService, IKundeDetailView kundeDetailView, BankPresenter bankPresenter, IZinssatzFactory zinssatzFactory)
        {
            try
            {
                _kundenService   = kundenService;
                _kundeDetailView = kundeDetailView;
                _bankPresenter   = bankPresenter;
                _zinssatzFactory = zinssatzFactory;


                _kundeDetailView.KundeDetailAnsicht = new KundenDetailModel();
                _kundeDetailView.Initialisieren(this);
            }
            catch (Exception exception)
            {
                FehlerLoggen(exception.Message);
            }
        }