4. TechList 뷰 컴포넌트를 테스트해보자. ViewComponentDemo 컨트롤러에 다음과 같이 TechListDemo 액션 메서드를 추가한다.

    ▼  /Controllers/ViewComponentDemoController.cs에 액션 메서드 추가

    /// <summary>
    /// TechListViewComponent 사용 데모
    /// </summary>
    /// <returns></returns>
    public IActionResult TechListDemo()
    {
      return View();
    }
    

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.