Ignore:
Timestamp:
08/30/24 02:20:42 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
a3ce071
Parents:
e90ba32
Message:

fix update/create petcares

add new field modify functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Controllers/VetCenterController.cs

    re90ba32 r99d0ecc  
    7373        public async Task<ActionResult> Index()
    7474        {
     75            ViewBag.isAuthenticated = await getCrrentUser();
     76            ViewBag.hasAccess = await checkAuthorizationAsync();
    7577            var vetCenters = await db.VetCentersWithCity.ToListAsync();
    76             ViewBag.isAuthenticated = User.Identity.IsAuthenticated;
     78           // ViewBag.isAuthenticated = User.Identity.IsAuthenticated;
    7779            // no access for standard user
    7880            ViewBag.OnlyAdminManager = await checkAuthorizationSpecificRoleAsync(RoleConstants.Admin) ?? await checkAuthorizationSpecificRoleAsync(RoleConstants.Manager);
Note: See TracChangeset for help on using the changeset viewer.