diff --git a/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs b/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs index 95cdbc8..937be81 100644 --- a/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs +++ b/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs @@ -32,11 +32,12 @@ namespace AS1024.CommunityDocumentationPage.Controllers [NonAction] protected Uri BuildNetBoxURI() { - var endUrl = new UriBuilder(); - - endUrl.Path = "/api/ipam/route-targets"; - endUrl.Host = Configuration["NetBoxHost"]; - endUrl.Scheme = "https"; + var endUrl = new UriBuilder + { + Path = "/api/ipam/route-targets", + Host = Configuration["NetBoxHost"], + Scheme = "https" + }; return endUrl.Uri; }