Пример #1
0
        public HubPagedResponse <T> ExecuteGetForResponsePaged <T>() where T : HubView
        {
            JObject jobject = ExecuteGetForResponseJson();
            HubPagedResponse <T> response = jobject.ToObject <HubPagedResponse <T> >();

            response.Json = jobject.ToString();
            if (response.Items != null)
            {
                foreach (T item in response.Items)
                {
                    item.Json = jobject.ToString();
                }
            }
            return(response);
        }