var builder = WebApplication.CreateBuilder(args);var app = builder.Build();app.Urls.Add("https://localhost:5000");InMemoryDatabase db = new InMemoryDatabase();app.MapGet("/", () => "Hello World!");app.MapGet("/person/fetch/{id}", (int id) => db.FetchPerson(id));app.MapGet("/person/add/{id}/{name}/{age}", (int id, string name, string age) => db.AddPerson(id, name, age));app.MapGet("/person/update/{id}/{name}/{age}", (int id, string name, string age) => db.UpdatePersonPut(id, new UpdatePersonData(name, age)));app.MapGet("/person/remove/{id}", (int id) => db.RemovePerson(id));app.MapGet("/person/friends/{id}", (int id) => db.GetFriends(id));app.Run();