Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
両方とも部分ビューを返す 2 つの ActionResult /Controller 関数を一度に呼び出すことはできますか?
いいえ、1 つの URI を使用して同時に 2 つのアクションを呼び出すことはできません。これは、ルーティング テーブルが 1 つのルートにのみ一致し、そのコントローラーとアクションに実行を渡すためです。そのアクション内から別のアクションを呼び出すこともできますが、私はそれをお勧めしません。実行したい他のアクションのために、クライアントに別のリクエストをサーバーに送信させるだけです。