In my asp.net mvc3 application i have created two partial views for two different action that is, partialviewresult setcomment and partialviewresult getcomment
i have created partial view using create a strongly type view and different scaffold template for _setcomment i am using create template and for _getcomment i am using List template.
Now i want to call both _setcomment and _getcomment partial view in one view.
in my view file .cshtml
_setcomment -
@model <NAMESPACE>.<MODELNAME>
<some code>
_getcomment -
@model IEnumerable<<NAMESPACE>.<MODELNAME>>
<some code>
how can i call diiferent partial view in one view? any suggestions?