MVC how to render partial view from controller
<p>I have a action method in view <code>@Html.Action("office_holders_Test")</code> and in controller class i have method below,</p>

<p>I am trying to loop through the items in <code>foreach</code> loop each office holder and add to the office holder view, but in my code after looping first item this function return me only first officeholder in officeholder partial view</p>

<pre><code>public ActionResult  office_holders_Test()
{
    int Application_id = Convert.ToInt32(TempData["Application_id"]);
    if (Application_id != 0)
    {
        var office_holders = Applicant_Service.GetOfficeHolderBy_Application_Id(Application_id);
        DisplayDropdownList();
        foreach (var OfficeHolder in office_holders)
        {
            return PartialView("../Applicant/OfficeHolderEntryEditor", OfficeHolder);
        }
        else
        {
            return PartialView("../Applicant/OfficeHolderEntryEditor", new tr_office_holders());
        }
        return PartialView("../Applicant/OfficeHolderEntryEditor")           
    }
}
</code></pre>