public async Task <bool> CreatePlanet(Planet planet) { var planetViewModel = _mapper.Map <Planet, PlanetViewModel>(planet); var _appearanceInMovies = await GetAppearanceInMovies(planetViewModel); var _planet = _mapper.Map <PlanetViewModel, Planet>(planetViewModel); return(await _service.CreatePlanet(_planet)); }