Спасибо Спасибо.
у нулевой параметр передается следующему действию контроллера?
public FileContentResult GetImageForArticle(ArticleSummary article)
{
if (article == null || !article.ContainsValidThumbNail()) return null;
return File(article.ThumbNail, article.ThumbNaiType);
}
из следующего частичного вида:
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<AkwiMemorial.Models.ArticleSummary>>" %>
<%if (Model.Count() > 0)
{ %>
<table>
<% foreach (var item in Model)
{ %>
<tr>
<td>
<img src='<%=Url.Action("GetImageForArticle", "Resources", new { article = item })%>' alt=""/>
</td>
</tr>
<% } %>
</table>