Created
September 13, 2018 01:03
-
-
Save dcomartin/5e229dea8139b9ae1b24ec103bc93423 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProductsModule : NancyModule | |
{ | |
public ProductsModule() | |
{ | |
Get["/products/{id}", runAsync: true] = async (_, token) => | |
{ | |
//do something long and tedious | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment