Created
July 19, 2017 13:53
-
-
Save justinyoo/375343f0fbd34c00183f08674129af62 to your computer and use it in GitHub Desktop.
Testing Serverless Applications - Part 1
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 static class GetArmTemplateDirectoriesHttpTrigger | |
{ | |
public static FunctionFactory FunctionFactory { get; set; } = new FunctionFactory(); | |
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, ILogger log) | |
{ | |
var options = new GetArmTemplateDirectoriesFunctionParameterOptions() { Query = GetQuery(req) }; | |
var res = await FunctionFactory.Create<IGetArmTemplateDirectoriesFunction>(log) | |
.InvokeAsync(req, options) | |
.ConfigureAwait(false); | |
return res; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment