@model IEnumerable<MyWebsite.Models.ResumeModel>
@{
	ViewData["Title"] = "Resumes";
}

<header>
	&#xE760; <a asp-action="Index" asp-controller="Admin" asp-area="">Back to main menu</a>
	<h1>Resumes list</h1>
	<a asp-action="Create" class="comment">// + Create New</a>
</header>

<article>
	<table>
		<thead>
			<tr>
				<th>
					@Html.DisplayNameFor(model => model.Language)
				</th>
				<th>
					@Html.DisplayNameFor(model => model.LastUpdate)
				</th>
				<th>Actions</th>
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model)
			{
				<tr>
					<td>@item.Language</td>
					<td>@item.LastUpdate</td>
					<td>
						<a asp-action="Edit" asp-route-id="@item.Language">Edit</a> |
						<a asp-action="Delete" asp-route-id="@item.Language">Delete</a>
					</td>
				</tr>
			}
		</tbody>
	</table>
</article>