asp.netmvc4を使用してwebapgeを構築しています。整理のために、いくつかのコントローラーをControllersフォルダーのサブフォルダー内に配置したいと思います。例えば:
Controllers
AccountController
BlahController
Dashboard (Folder)
ChickenController
BeefController
BeefController(部分的なビューを返す)を使用するには、次を使用する必要があるようです。
@Html.Action("Index", "Dashboard/BeefDashboard")
ただし、これにより次のエラーが発生します。
The controller for path '/' was not found or does not implement IController.
BeefControllerをどのように使用できますか?