IEnumerable<BehaviorChain> FindChainsWithoutViews(BehaviorGraph graph, ViewBag bag) { return from b in graph.Behaviors where b.ActionOutputType() != null && b.ActionOutputType().Closes(typeof(RestfulIndexModel<>)) let output = b.ActionOutputType() where !bag.ViewsFor(output).Any() select b; }