Last active
August 28, 2017 12:30
-
-
Save justinyoo/b5b66a3f5c3277aad09c497355d09fa5 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 async Task<HttpResponseMessage> Run(HttpRequestMessage req, ILogger log) | |
{ | |
var settings = new FunctionAppSettings(); | |
var client = new HttpClient(); | |
var service = new GitHubService(settings, client); | |
var query = GetQuery(req); | |
var models = await service.GetArmTemplateDirectoriesAsync(query) | |
.ConfigureAwait(false); | |
return req.CreateResponse(HttpStatusCode.OK, models); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment