/// <summary>
 /// This method will get the taxonomy hierarchy object for the given search criterai and return to the service
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="termStoreViewModel">The request object for which the taxonomy has to be retrieved</param>
 /// <returns>Client TermSet or SPO TermSet</returns>
 public async Task <TaxonomyResponseVM> GetTaxonomyHierarchyAsync(TermStoreViewModel termStoreViewModel)
 {
     return(await Task.FromResult(taxonomy.GetTaxonomyHierarchy(termStoreViewModel.Client, termStoreViewModel.TermStoreDetails)));
 }