public async Task <ActionResult> AddPlanet([FromBody] Planet planet) { var result = await _planetService.AddPlanet(planet); if (!result) { return(BadRequest()); } return(Ok()); }