cannot implicitly convert type void to object. .NET MVC PartialViewResult

后端 未结 4 1156
逝去的感伤
逝去的感伤 2021-02-02 04:59

I have the following controller action:

[ChildActionOnly]
public virtual PartialViewResult ListActions(int id)
{
    var actions = meetingActionRepository.GetAll         


        
4条回答
  •  梦如初夏
    2021-02-02 05:30

    Difference between Html.RenderAction and Html.Action

    Different things for different purposes. Check out the above link.

提交回复
热议问题