Changeset d6040ef for PostgreSqlDotnetCore/Controllers/CityController.cs
- Timestamp:
- 08/20/24 23:14:03 (3 months ago)
- Branches:
- main
- Children:
- 57fc402
- Parents:
- 63bd770
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Controllers/CityController.cs
r63bd770 rd6040ef 16 16 // GET: Customer 17 17 public async Task<ActionResult> IndexAsync() 18 { 19 // check for permission 20 UsersClass customerClass = await checkAuthorizationAsync(); 21 if (customerClass == null) 22 { 23 return RedirectToAction("AccessDenied", "Error"); 24 } 25 //return View(Enumerable.Empty<UsersClass>()); 26 return View(db.CitiesObj.ToList()); 27 } 18 { 19 // check for permission 20 UsersClass customerClass = await checkAuthorizationAsync(); 21 if (customerClass == null) 22 { 23 return RedirectToAction("AccessDenied", "Error"); 24 } 25 //return View(Enumerable.Empty<UsersClass>()); 26 return View(db.CitiesObj.ToList()); 27 } 28 29 28 30 29 31 // GET: Customer/Details/5
Note:
See TracChangeset
for help on using the changeset viewer.