- Timestamp:
- 08/22/24 01:46:17 (3 months ago)
- Branches:
- main
- Children:
- 72b1da2
- Parents:
- d6040ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Controllers/ProductsController.cs
rd6040ef r57fc402 46 46 47 47 // GET: Customer/Details/5 48 public ActionResultDetails(int? id)48 public async Task<ActionResult> Details(int? id) 49 49 { 50 50 if (id == null) … … 52 52 return RedirectToAction("NotExist", "Error"); 53 53 } 54 UsersClass customerClass = await getCrrentUser(); 55 ViewBag.isAuthenticated = customerClass; 54 56 ProductsClass prodClass = db.ProductObj.Find(id); 55 57 if (prodClass == null)
Note:
See TracChangeset
for help on using the changeset viewer.