Error Logging Filter and Route (ELFAR) Wiki
Error Logging Filter and Route (ELFAR) for ASP.NET MVC
Brought to you by:
stevenbey
Initialises a new instance of the AdminConstraint class.
public AdminConstraint()
AdminConstraint restricts access to authenticated users in the 'Admin', 'Administrator' or 'Administration' role.
The following example shows the instantiation of the AdminConstraint.
new ErrorLogRoute(provider, new AdminConstraint());