Ejemplo n.º 1
0
        public static OpenHouseController GetOpenHouseController(OpenHousePage openHousePage)
        {
            IOpenHouseOutput openHouseOutput = new OpenHousePresenter(openHousePage);
            ICaseCRUD        caseCRUD        = new CaseCRUD();
            IRealtorCRUD     realtorCRUD     = new RealtorCRUD();
            IOpenHouseInput  openHouseInput  = new OpenHouseLogic(openHouseOutput, caseCRUD, realtorCRUD);

            return(new OpenHouseController(openHouseInput));
        }
Ejemplo n.º 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));
        }