public UserController() { this.db = new Entities(); db.Configuration.ProxyCreationEnabled = false; this.ctx = ExecutionContext.Create(); this.threadBusiness = new Business.Thread(db, ctx); }