private ModelFactory() { _tcApi = new TCApi(); _logInModel = new LogInModel(_tcApi); _homeModel = new HomeModel(_tcApi); _userPreference = new UserPreference(_tcApi); _settingsModel = new SettingsModel(); _createUserModel = new CreateUserModel(_tcApi); _createCaseModel = new CreateCaseModel(_tcApi); _caseModel = new CaseModel(_tcApi); _changePasswordModel = new ChangePasswordModel(_tcApi); _mapModel = new MapModel(_tcApi); _trafficLightModel = new TrafficLightOverviewModel(_tcApi); }
public TrafficLightOverviewPresenter(ITrafficLightOverviewView view, ITrafficLightOverviewModel model) { _view = view; _model = model; }