public GlobalJsonResult <InstallationResult> StartInstallation([FromBody] StartInstallationRequest request) { var installationResult = installation.StartInstallation(); var result = new InstallationResult(); result.PopulateFrom(installationResult); return(result.IsSuccess ? GlobalJsonResult <InstallationResult> .Success(System.Net.HttpStatusCode.Created, result) : GlobalJsonResult <InstallationResult> .Success(System.Net.HttpStatusCode.OK, result)); }