public void Configure(ViewBag bag, BehaviorGraph graph)
{
FindChainsWithoutViews(graph, bag).Each(b =>
{
var output = b.ActionOutputType();
var entityType = output.GetGenericArguments()[0];
var handlerType = typeof (AwesomeCreateHandler<>).MakeGenericType(entityType);
var method = handlerType.GetMethod("DaisyChain");
b.AddToEnd(new ActionCall(handlerType,method));
var token = bag.ViewsFor(typeof (AwesomeEditModel)).First();
b.AddToEnd(token.ToBehavioralNode());
});
}