Updated Program
Added Mapping of Ping Endpoints.
This commit is contained in:
parent
5387e1beb7
commit
6f920f3f0d
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ app.MapPlaylistEndpoints();
|
||||||
app.MapProfileEndpoints();
|
app.MapProfileEndpoints();
|
||||||
app.MapSearchHistoryEndpoints();
|
app.MapSearchHistoryEndpoints();
|
||||||
app.MapSettingEndpoints();
|
app.MapSettingEndpoints();
|
||||||
|
app.MapPingEndpoints();
|
||||||
|
|
||||||
await using(var serviceScope = app.Services.CreateAsyncScope())
|
await using(var serviceScope = app.Services.CreateAsyncScope())
|
||||||
await using (var dbContext = serviceScope.ServiceProvider.GetRequiredService<DataContext>())
|
await using (var dbContext = serviceScope.ServiceProvider.GetRequiredService<DataContext>())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue