Projects (GanjooRazor -> DivanRazor, GanjoorService.sln -> DivanService.sln), files, folders, classes, namespaces, settings, API routes (/api/divan) and DB tables (Divan*). 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>
42 lines
982 B
Plaintext
42 lines
982 B
Plaintext
@page
|
|
@model DivanRazor.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>
|
|
}
|
|
|