Skip to content

Commit

Permalink
updated controller and startup code.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradygaster committed Apr 25, 2020
1 parent b524c47 commit bf4d1dd
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ public void Put(Guid id, [FromBody] PortsOfEntry value)
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ public void Put (Guid id, [FromBody] RepresentativeData value) {
this.dataContext.SaveChanges();
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"dependencies": {
"cosmosdb1": {
"type": "cosmosdb",
"connectionId": "CosmosDbConnectionString"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"dependencies": {
"cosmosdb1": {
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroup')]/providers/Microsoft.DocumentDB/databaseAccounts/covid-screening-data",
"type": "cosmosdb.azure",
"connectionId": "CosmosDbConnectionString",
"secretStore": "LocalSecretsFile"
}
}
}
1 change: 1 addition & 0 deletions Start/COVIDScreeningApi/COVIDScreeningApi/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
}
}
}

0 comments on commit bf4d1dd

Please sign in to comment.