AlloyAngularJS.AdministratorRegistrationPage.IsAnyUserRegistered C# (CSharp) Method

IsAnyUserRegistered() private static method

private static IsAnyUserRegistered ( ) : bool
return bool
        private static bool IsAnyUserRegistered()
        {
            var provider = ServiceLocator.Current.GetInstance<UIUserProvider>();
            int totalUsers = 0;
            var res = provider.GetAllUsers(0, 1, out totalUsers);
            return totalUsers > 0;
        }