Esempio n. 1
0
 public void ConfigureAuthorization(AuthorizationConfiguration configuration) =>
 configuration.UseRequirement <VoterMustBeLoggedInRequirement>();
 public void ConfigureAuthorization(AuthorizationConfiguration configuration) =>
 configuration.UseRequirement <VoterMustBeAdministratorRequirement>();