public IActionResult GetBootstrapConfiguration() { IActionResult result; Model.BootstrapServer bootstrapServer = BusinessLogicFactory.Configuration.GetBootstrapServer(User.GetOrganisationID()); if (bootstrapServer == null) result = new NotFoundResult(); else { ServiceModels.Bootstrap response = new ServiceModels.Bootstrap(bootstrapServer); result = Request.GetObjectResult(response); } return result; }
public IActionResult GetBootstrapConfiguration() { IActionResult result; Model.BootstrapServer bootstrapServer = BusinessLogicFactory.Configuration.GetBootstrapServer(User.GetOrganisationID()); if (bootstrapServer == null) { result = new NotFoundResult(); } else { ServiceModels.Bootstrap response = new ServiceModels.Bootstrap(bootstrapServer); result = Request.GetObjectResult(response); } return(result); }