Codific mvc567

mvc567 is a high performance, open-source ASP.NET Core-based web application platform. It provides CMS functionality to its users.

View the Project on GitHub codific/mvc567

Admin Controllers

Admin controllers are applicable only for the administration panel. They are separated into two main types:

These controllers are used for CRUD operations and have following structure:

[Area("Admin")]
[Route("admin/example-entities/")]
[ApiExplorerSettings(IgnoreApi = true)]
[ValidateAdminCookie]
[Authorize(Policy = ApplicationPermissions.AccessAdministrationPolicy)]
public class AdminExampleEntitiesController : AbstractEntityController<ExampleEntity, ExampleEntityDto>
{
    public AdminExampleEntitiesController(IEntityManager entityManager) : base(entityManager)
    {
    }
}

The attributes of the controller has following functions:

The inheritance of AbstractEntityController and the features provided by the base controller are explained in details in Application Features Guide - CRUD Pages.

Independent

These controllers are used for any reason and have no specific difference than Public Controllers. The only requirement for these controllers are the attributes which must be the same as the Entity related admin controllers.