divan/DiwanRazor/Areas/Admin/Pages/CatDel.cshtml
Anas Rashid e8f2306422 Rename Ganjoor -> Diwan throughout the code
Projects (GanjooRazor -> DiwanRazor, GanjoorService.sln -> DiwanService.sln), files,
folders, classes, namespaces, settings, API routes (/api/diwan) and DB tables (Diwan*).
External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed
consistently (no pending model changes); requires a fresh database.
Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:49:01 +02:00

42 lines
982 B
Plaintext

@page
@model DiwanRazor.Areas.Admin.Pages.CatDelModel
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = "_AdminLayout";
ViewData["Title"] = "حذف بخش";
}
<h1>@ViewData["Title"]</h1>
@if (!string.IsNullOrEmpty(Model.LastResult))
{
<p>
@Model.LastResult
</p>
<p>
<a role="button" href="/" class="actionlink">برگشت</a>
</p>
}
else
{
<table>
<tr>
<td colspan="2">
آیا از حذف @Model.Cat.Cat.Title اطمینان دارید؟
</td>
</tr>
<tr>
<td>
<form method="post" action="/Admin/CatDel?id=@Model.Cat.Cat.Id">
@Html.AntiForgeryToken()
<input type="submit" value="بله" />
</form>
</td>
<td>
<a role="button" href="/Admin" class="actionlink">خیر / برگشت</a>
</td>
</tr>
</table>
}