/// <summary>
 /// Constructor
 /// </summary>
 public RoleService(IRoleStore roleStore, IPermissionStore permissionStore, ClientService clientService)
 {
     _roleStore       = roleStore ?? throw new ArgumentNullException(nameof(roleStore));
     _permissionStore = permissionStore ?? throw new ArgumentNullException(nameof(permissionStore));
     _clientService   = clientService ?? throw new ArgumentNullException(nameof(clientService));
 }
 public SecurableItemService(IClientStore clientStore, ClientService clientService, ISecurableItemStore securableItemStore)
 {
     _clientStore        = clientStore ?? throw new ArgumentNullException(nameof(clientStore));
     _clientService      = clientService ?? throw new ArgumentNullException(nameof(clientService));
     _securableItemStore = securableItemStore ?? throw new ArgumentNullException(nameof(securableItemStore));
 }