Add project files.
This commit is contained in:
15
Mvc/Views/Home/Index.cshtml
Normal file
15
Mvc/Views/Home/Index.cshtml
Normal file
@ -0,0 +1,15 @@
|
||||
@model List<EmployeeModel>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Employees</h1>
|
||||
<ul>
|
||||
@foreach(var e in Model)
|
||||
{
|
||||
<li>@e.Id: @e.FirstName @e.LastName (@e.Title)</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user