2024-05-15 08:52:27 +03:00

114 lines
3.2 KiB
Plaintext

@model IEnumerable<MusteriYonetimSistemiAPI.Models.Musteri>
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Ad)
</th>
<th>
@Html.DisplayNameFor(model => model.Soyad)
</th>
<th>
@Html.DisplayNameFor(model => model.KullaniciAdi)
</th>
<th>
@Html.DisplayNameFor(model => model.SirketAdi)
</th>
<th>
@Html.DisplayNameFor(model => model.DogumTarihi)
</th>
<th>
@Html.DisplayNameFor(model => model.Cinsiyet)
</th>
<th>
@Html.DisplayNameFor(model => model.TCKimlikNo)
</th>
<th>
@Html.DisplayNameFor(model => model.Email)
</th>
<th>
@Html.DisplayNameFor(model => model.Telefon)
</th>
<th>
@Html.DisplayNameFor(model => model.Adres)
</th>
<th>
@Html.DisplayNameFor(model => model.Sehir)
</th>
<th>
@Html.DisplayNameFor(model => model.PostaKodu)
</th>
<th>
@Html.DisplayNameFor(model => model.Ulke)
</th>
<th>
@Html.DisplayNameFor(model => model.Notlar)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Ad)
</td>
<td>
@Html.DisplayFor(modelItem => item.Soyad)
</td>
<td>
@Html.DisplayFor(modelItem => item.KullaniciAdi)
</td>
<td>
@Html.DisplayFor(modelItem => item.SirketAdi)
</td>
<td>
@Html.DisplayFor(modelItem => item.DogumTarihi)
</td>
<td>
@Html.DisplayFor(modelItem => item.Cinsiyet)
</td>
<td>
@Html.DisplayFor(modelItem => item.TCKimlikNo)
</td>
<td>
@Html.DisplayFor(modelItem => item.Email)
</td>
<td>
@Html.DisplayFor(modelItem => item.Telefon)
</td>
<td>
@Html.DisplayFor(modelItem => item.Adres)
</td>
<td>
@Html.DisplayFor(modelItem => item.Sehir)
</td>
<td>
@Html.DisplayFor(modelItem => item.PostaKodu)
</td>
<td>
@Html.DisplayFor(modelItem => item.Ulke)
</td>
<td>
@Html.DisplayFor(modelItem => item.Notlar)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.MusteriId">Edit</a> |
<a asp-action="Details" asp-route-id="@item.MusteriId">Details</a> |
<a asp-action="Delete" asp-route-id="@item.MusteriId">Delete</a>
</td>
</tr>
}
</tbody>
</table>