Assuming this is DD4T 2, rendering partial views for Component Presentations, and that you have all the dependency injection etc setup, your most basic version of this method should be:

    public override ActionResult ComponentModel()
    {
       return base.ComponentModel();
    }

With the following in your page layout

    @foreach (var item in Model.Items)
    {
       @Html.Render(item)
    }