public IActionResult GetConfiguration() { IActionResult result; ServiceModels.Configuration response = new ServiceModels.Configuration(); string rootUrl = Request.GetRootUrl(); response.AddLink<ServiceModels.Bootstrap>(Request,"bootstrap", string.Concat(rootUrl, "/configuration/bootstrap")); result = Request.GetObjectResult(response); return result; }
public IActionResult GetConfiguration() { IActionResult result; ServiceModels.Configuration response = new ServiceModels.Configuration(); string rootUrl = Request.GetRootUrl(); response.AddLink <ServiceModels.Bootstrap>(Request, "bootstrap", string.Concat(rootUrl, "/configuration/bootstrap")); result = Request.GetObjectResult(response); return(result); }