Admin Controllers - HammerheadShark666/jwm-photography GitHub Wiki

Overview

The **Photography Site Admin Controller ** folder provides the controller/actions for accessing the site pages and ajax calls.

The following controllers are present in the project.

  • GalleryController
  • GalleryPhotoController
  • HomeController
  • LookUpController
  • MontageController
  • PhotoCatalogController
  • PhotoImportController

The actions in the controllers are called asynchronously.

Errors are handled by the GlobalExceptionHandlerExtension which is middleware.

The controllers use the Authorize attribute set for Admin roles only for authorisation of endpoints.

Code

The code for Admin Controllers can be found at code