Пример #1
0
 public static async Task <IEnumerable <T> > Search(string searchContent)
 {
     return(GetTFormString <IEnumerable <T> >(
                (await CommonDataLoader.GetMainJsonArrayGeneric(
                     GetSearchUri(searchContent))
                ).Stringify()));
 }
Пример #2
0
 public static async Task <IEnumerable <T> > SearchWithLargeContent(string searchContent)
 {
     return(GetTFormArray <T>((
                                  await CommonDataLoader.GetMainJsonArrayGeneric(
                                      GetSearchUri(searchContent)))));
 }
Пример #3
0
 internal static async Task <IEnumerable <CommentModel> > GetComment(string uri)
 {
     return(JsonHelper.Select <CommentModel>(await CommonDataLoader.GetMainJsonArrayGeneric(uri)));
 }