Ignore:
Timestamp:
08/23/24 15:40:14 (2 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
e9bb9d1
Parents:
72b1da2
Message:

fix access

implement multiple access pages with different roles
optimize present three structure of BlogPost and Answer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Views/Customer/Index.cshtml

    r72b1da2 r118e414  
    1717    {
    1818
    19         <p>
     19       /* <p>
    2020            @Html.ActionLink("Create New", "Create")
    2121        </p>
     22        */
     23
     24        @if (ViewBag.CanCreate)
     25        {
     26            <p>
     27                @Html.ActionLink("Create New", "Create")
     28            </p>
     29        }
    2230        <table class="table">
    2331            <tr>
Note: See TracChangeset for help on using the changeset viewer.