Create a gist now

Instantly share code, notes, and snippets.

public class HomeModule : NancyModule
{
public HomeModule()
{
Get["/{category}"] = parameters => "My category is " + parameters.category;
Get["/sayhello"] = _ => "Hello from Nancy";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment