private Category MapCategory(AzureService.Category category)
 {
     return(new Category
     {
         Id = category.Id.ToString(),
         Name = category.Name,
         ChildCategories = category.ChildCategories.Select(this.MapCategory).ToList()
     });
 }
        public async Task <Category> GetCategories()
        {
            AzureService.Category rootCategory = await this.serviceClient.GetCategories();

            return(this.MapCategory(rootCategory));
        }