Esempio n. 1
0
        public static DeleteEntryController DeleteEntryController(EntryPage entryPage)
        {
            IDeleteEntryOutput deleteEntryOutput = new DeleteEntryPresenter(entryPage);
            ICaseCRUD          caseCRUD          = new CaseCRUD();
            IPropertyCRUD      propertyCRUD      = new PropertyCRUD();
            IAddressCRUD       addressCRUD       = new AddressCRUD();
            IDeleteEntryInput  deleteEntryInput  = new DeleteEntry(deleteEntryOutput, caseCRUD, propertyCRUD, addressCRUD);

            return(new DeleteEntryController(deleteEntryInput));
        }
Esempio n. 2
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));
        }
Esempio n. 3
0
        public static UpdateEntryController GetEntryEditCaseData(EditEntryPage editEntryPage)
        {
            IUpdateEntryOutput entryOutput  = new UpdateEntryPresenter(editEntryPage);
            ICaseCRUD          caseCRUD     = new CaseCRUD();
            IPropertyCRUD      propertyCRUD = new PropertyCRUD();
            IAddressCRUD       addressCRUD  = new AddressCRUD();

            IUpdateEntryInput updateEntryInput = new RunUpdateEntry(entryOutput, caseCRUD, propertyCRUD, addressCRUD);

            return(new UpdateEntryController(updateEntryInput));
        }
Esempio n. 4
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));
        }
Esempio n. 5
0
        public static CreateEntryController GetCreateEntryController(CreateEntryPage createEntryPage)
        {
            ICreateEntryOutput createcaseOutput = new CreateEntryPresenter(createEntryPage);
            ICaseCRUD          caseCRUD         = new CaseCRUD();
            IPropertyCRUD      propertyCRUD     = new PropertyCRUD();
            IAddressCRUD       addressCRUD      = new AddressCRUD();

            ICreateEntryInput createcaseInput = new RunCreateEntry(createcaseOutput, caseCRUD, propertyCRUD, addressCRUD);

            return(new CreateEntryController(createcaseInput));
        }