- Timestamp:
- 08/20/24 16:16:26 (3 months ago)
- Branches:
- main
- Children:
- d6040ef
- Parents:
- 6782104
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Controllers/ProductsController.cs
r6782104 r63bd770 16 16 public ProductsController(UserManager<IdentityUser> userManager) : base(userManager) 17 17 { 18 // set if is authenticated19 ViewBag.isAuthenticated = new UsersClass();20 18 } 21 19 … … 28 26 //} 29 27 // GET: Customer 30 public ActionResult Index(string? searchString)28 public async Task<ActionResult> IndexAsync(string? searchString) 31 29 { 32 30 // set if is authenticated 33 ViewBag.isAuthenticated = new UsersClass();31 ViewBag.isAuthenticated = await getCrrentUser(); 34 32 if (!String.IsNullOrEmpty(searchString)) 35 33 {
Note:
See TracChangeset
for help on using the changeset viewer.