public IActionResult Get(int id) { return(Ok(JsonConvert.SerializeObject(environmentRepository.GetEnvironmentByIdAsync(id)))); }