<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%if (Model != null && Model.HasData) { %> <%: Model.Person.Name %>
<% foreach (FacilityContactMethodModel contact in Model.Contacts) { %> <% if (contact.Type == ContactMethodType.Email) { %> <%: contact.Value %>
<% }else {%> <%: contact.Type %>: <%: contact.Value %>
<%} %> <% } %> <%} else{%> None <%} %>