Пример #1
0
        void GetFirstTimeVisitAttribValue(OnComplete onComplete)
        {
            ApplicationApi.GetAttributeForGuid("655D6FBA-F8C0-4919-9E31-C1C936653555",
                                               delegate(System.Net.HttpStatusCode statusCode, string statusDescription, Rock.Client.Attribute model)
            {
                if (Rock.Mobile.Network.Util.StatusInSuccessRange(statusCode) == true && model != null)
                {
                    TempFirstTimeVisit = model;

                    GetCanCheckInGroupTypeRole(onComplete);
                }
                // Child Role Failed
                else
                {
                    onComplete(false);
                }
            });
        }