ایجاد nested Section در Razor
نویسنده: علی یگانه مقدم
تاریخ: ۱۳۹۷/۰۷/۱۵ ۲۱:۴۱
آدرس: www.dntips.ir
@{
Layout = "~/Views/_MasterLayout.cshtml";
}
<div>
@section SubSection {
<h1>Title</h1>
}
@RenderBody()
@RenderSection("ContentSection")
</div>