public static MvcHtmlString TestimonialImage(this HtmlHelper html, IPersonPresentable person, string cssClass = null) { if (person.Thumbnail != null) { return(html.DatabaseImage(person.Thumbnail, cssClass)); } else { return(html.DefaultPersonImage(person, cssClass)); } }
public static MvcHtmlString TestimonialImage(this HtmlHelper html, IPersonPresentable person, string cssClass = null) { if (person.Thumbnail != null) return html.DatabaseImage(person.Thumbnail, cssClass); else return html.DefaultPersonImage(person, cssClass); }