Beispiel #1
0
        public static ShowEntryController GetShowEntryController(GetEntryPage getEntryPage)
        {
            IShowEntryOutput entryOutput  = new GetEntryPresenter(getEntryPage);
            IAddressCRUD     addressCRUD  = new AddressCRUD();
            ICaseCRUD        caseCRUD     = new CaseCRUD();
            IPropertyCRUD    propertyCRUD = new PropertyCRUD();
            IShowEntryInput  entryInput   = new ShowEntries(entryOutput, addressCRUD, caseCRUD, propertyCRUD);

            return(new ShowEntryController(entryInput));
        }
Beispiel #2
0
        public static PrintEntryController GetPrintEntryController(GetEntryPage getEntryPage)
        {
            IPrintEntriesOutput printOutput  = new PrintEntryPresenter(getEntryPage);
            IAddressCRUD        addressCRUD  = new AddressCRUD();
            ICaseCRUD           caseCRUD     = new CaseCRUD();
            IPropertyCRUD       propertyCRUD = new PropertyCRUD();
            IRealtorCRUD        realtorCRUD  = new RealtorCRUD();
            IPrintEntriesInput  printInput   = new PrintEntry(printOutput, addressCRUD, caseCRUD, propertyCRUD, realtorCRUD);

            return(new PrintEntryController(printInput));
        }