private static WPMenuModel MapWPMenu(dynamic jsonObj)
        {
            var wpMenuModel = new WPMenuModel();

            //for a single MENU content request
            wpMenuModel = JsonConvert.DeserializeObject(jsonObj, typeof(WPMenuModel));

            EnsureMenuSlugValue(wpMenuModel);

            WPMenuBuilder.AddMenuStyle(wpMenuModel);

            return(wpMenuModel);
        }
        private static List <WPMenuModel> MapWPMenuCollection(dynamic jsonObj)
        {
            var wpMenuModelCollection = new List <WPMenuModel>();

            //for a collection MENU content request
            wpMenuModelCollection = JsonConvert.DeserializeObject(jsonObj, typeof(List <WPMenuModel>));

            foreach (var wpMenuModel in wpMenuModelCollection)
            {
                EnsureMenuSlugValue(wpMenuModel);
                WPMenuBuilder.AddMenuStyle(wpMenuModel);
            }

            return(wpMenuModelCollection);
        }