public Controller() { try { jsonHelper = new JsonHelper(); resources = new CommonResources(jsonHelper); searchModel = new SearchModel(jsonHelper, resources); watchModel = new WatchModel(jsonHelper, resources); gemModel = new GemsModel(jsonHelper); } catch (AggregateException e) { throw e; } }
public WatchModel(JsonHelper jsonHelper, CommonResources resources) { this.jsonHelper = jsonHelper; this.resources = resources; }