示例#1
0
 public IActionResult Index()
 {
     return(View(new PlanetsAndSpaceShip
     {
         Planets = _planetService.GetPlanetList(),
         SpaceShip = _planetService.GetSpaceShip()
     }));
 }