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)); }
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)); }
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)); }
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)); }
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)); }