Skip to content

Commit 204637e

Browse files
author
basharovi
committed
renamed namespace
1 parent b7b5699 commit 204637e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Data/InitializeDatabase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using SimpleGraphQLApp.Models;
2-
using Microsoft.AspNetCore.Builder;
1+
using Microsoft.AspNetCore.Builder;
32
using Microsoft.Extensions.DependencyInjection;
3+
using simple_graphql_app.Models;
44

5-
namespace SimpleGraphQLApp.Data
5+
namespace simple_graphql_app.Data
66
{
77
public static class InitializeDatabase
88
{

Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
4343

4444
app.UseEndpoints(endpoints =>
4545
{
46-
endpoints.MapGet("/playground", async context =>
46+
endpoints.MapGet("/", async context =>
4747
{
4848
await context.Response.WriteAsync("Hello World!");
4949
});

0 commit comments

Comments
 (0)