@{ ViewBag.Title = "Services"; Layout = "~/Views/Shared/_Layout.cshtml"; } @using ReportWeb.Models; @using SuperAdmin.Controllers; @model List @functions { void StatusToText(int status) { if (status == 0) { Inactive } else if (status == 1) { Active } } }

Services

Search

  • @*
  • *@
  • @*
  • *@
@Html.AntiForgeryToken() @*
*@
@**@
@if (Model != null) { for (int i = 0; i < Model.Count; i++) { Services service = Model[@i]; } }
# Edit Service Code Service Name Status
@(i + 1) @service.sv_code @service.sv_name @{StatusToText(service.status);}
@**@ @**@ @**@ @section Scripts { }