Exemplo n.º 1
0
        public BoundedContextModule(IPersistStreams persistStreams) : base("boundedcontexts")
        {
            Get["/", true] = async(_, __) =>
            {
                string[] strings = await persistStreams.GetBoundedContexts();

                return(Negotiate.WithModel(strings));
            };
        }