@{ 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 Report

Search

  • @*
  • *@
  • @*
  • *@
@Html.AntiForgeryToken() @*
*@
@**@
@if (Model != null) { for (int i = 0; i < Model.Count; i++) { Services service = Model[@i]; } }
# Action Service Code Db Name Db User Connection String Status
@(i + 1) @if (service.status == 0) { } else { } @service.sv_name @service.db_name @service.db_username @service.connection_string @{StatusToText(service.status);}
@**@ @**@ @**@ @section Scripts { }