예제 #1
0
        private async Task LoadOrganizations()
        {
            var orgs = await UserUtility.GetAllOrganizations();

            if (orgs.Count == 0 || orgs == null)
            {
                ZeroOrganizations = true;
                if (Organizations != null)
                {
                    Organizations.Clear();
                }
            }
            else
            {
                ZeroOrganizations = false;
                Organizations     = orgs;
            }
        }