예제 #1
0
        public async Task <IActionResult> ChooseFavoritePlanet(int fanId)
        {
            _fanService.SetFanID(fanId);
            _favPlanetService.SetFanID(fanId);

            var result = await _starWarsFacade.GetAllPlanets();

            return(View(result));
        }