/// <summary>
        /// Determines action supported
        /// </summary>
        /// <param name="providerName"></param>
        /// <param name="action"></param>
        /// <returns></returns>
        public override bool IsSupported(string providerName, ProviderActions action)
        {
            if ((action == ProviderActions.Delete || action == ProviderActions.Update) && providerName == nameof(ExtendedRoleProvider))
            {
                return(true);
            }

            return(action != ProviderActions.Create);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Determines if action is supported, always true for this provider
 /// </summary>
 /// <param name="action"></param>
 /// <returns></returns>
 public override bool IsSupported(ProviderActions action) => true;