How to prevent the rendering of the main page and its return? I just want it to display 1 section, for example.
Controller
public ActionResult PaymentOptions() { return View(settingService.GetPaymentBanks().ToList()); }
View PaymentOptions:
@model IEnumerable<Econo.Domain.PaymentBank> <h2>Payments</h2>
View
<div class="grid_10"> </div> <div class="grid_14"> @{Html.RenderAction("PaymentOptions", "Administrator");} </div>
Grid_14 displays the header, footer, and everything else. Is there any way to prevent this?
source share