I have the following controller action:
[ChildActionOnly]
public virtual PartialViewResult ListActions(int id)
{
var actions = meetingActionRepository.GetAllMeetingActions(id);
return PartialView(actions);
}
And the following action link (using t4MVC and the razor syntax)
<p>
@Html.RenderAction(MVC.MeetingActions.ListActions(Model.MeetingId))
</p>
However this gives me the error:
cannot implicitly convert type void to object
As far as i can tell the controller action is ok, so what could be giving me this error?