Ignore:
Timestamp:
08/23/24 03:03:32 (5 weeks ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
118e414
Parents:
57fc402
Message:

Providing access

Providing access to various functionalities

File:
1 edited

Legend:

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

    r57fc402 r72b1da2  
    9898                        <div class="col-md-6 col-xs-6">
    9999                            <h3>@item.name</h3>
    100                             @if (SignInManager.IsSignedIn(User))
     100                            @if (SignInManager.IsSignedIn(User) && ViewBag.hasAccess != null)
     101                            // SignInManager.IsSignedIn(User) && ViewBag.hasAccess != null
     102                            //SignInManager.IsSignedIn(User) && ViewBag.hasAccess != null && ViewBag.hasAccess == true
     103                         
     104                               
    101105                            {
    102106                                <div class="edit-crud-products">
     
    107111                            }
    108112                        </div>
     113                       
     114                       
    109115                        <div class="col-md-6 col-xs-6 price">
    110116                            <h3>
Note: See TracChangeset for help on using the changeset viewer.