Files
constructdemo/ConstructorAppUI/Views/CompanyInfoVideo/Index.cshtml
2025-05-01 15:18:30 +03:00

59 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@model List<ResultCompanyInfoVideoDto>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/AdminLayout/Index.cshtml";
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Ana Sayfa Başarılarımız Viedo İşlemleri</h4>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<table class="table table-head-bg-success table-striped table-hover">
<thead>
<tr>
<th scope="col">VideoUrl</th>
<th scope="col">İşlemler</th>
</tr>
</thead>
<tbody>
@if (Model == null || !Model.Any())
{
<tr>
<td colspan="3">Kayıt bulunamadı.</td>
</tr>
}
else
{
@foreach (var item in Model)
{
<tr>
<td>@item.VideoUrl</td>
<td>
<a href="/CompanyInfoVideo/UpdateCompanyInfoVideo/@item.CompanyInfoVideoID" class="btn btn-outline-success">Güncelle</a>
</td>
</tr>
}
}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>