@model IReadOnlyList<MemberCenter.Application.Models.Newsletter.SubscriptionDto>

<h1>Subscriptions</h1>
<p><a href="/admin/subscriptions/export">Export CSV</a></p>
<table>
  <thead>
    <tr><th>Email</th><th>List</th><th>Status</th><th>Created</th></tr>
  </thead>
  <tbody>
  @foreach (var sub in Model)
  {
    <tr>
      <td>@sub.Email</td>
      <td>@sub.ListId</td>
      <td>@sub.Status</td>
      <td>@sub.CreatedAt</td>
    </tr>
  }
  </tbody>
</table>
