Method AddTab
AddTab(IMenuService, string, string, int, bool)
Adds a new menu tab to the menu service.
public static IMenuTabModel AddTab(this IMenuService menuService, string tabName, string caption, int sortOrder, bool isSelected = false)
Parameters
menuServiceIMenuServiceThe menu service.
tabNamestringThe name of the tab.
captionstringThe caption of the tab.
sortOrderintThe sort order of the tab.
isSelectedboolIndicates whether the tab is selected.
Returns
- IMenuTabModel
 The newly added menu tab.