示例#1
0
 public static List <MenuInfo> GetAdminMenu()
 {
     try
     {
         return(MenuDataProvider.GetAdminMenu());
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#2
0
 public static SageMenuSettingInfo GetMenuSetting(int PortalID, int UserModuleID)
 {
     try
     {
         return(MenuDataProvider.GetMenuSetting(PortalID, UserModuleID));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#3
0
 public static void UpdateSageMenuSettings(List <SageMenuSettingInfo> lstSetting)
 {
     try
     {
         MenuDataProvider.UpdateSageMenuSettings(lstSetting);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#4
0
 public static List <MenuInfo> GetSideMenu(int PortalID, string UserName, int menuID, string CultureCode)
 {
     try
     {
         return(MenuDataProvider.GetSideMenu(PortalID, UserName, menuID, CultureCode));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#5
0
 public static List <MenuInfo> GetAdminPages(int PortalID, string UserName, string CultureCode)
 {
     try
     {
         return(MenuDataProvider.GetAdminPages(PortalID, UserName, CultureCode));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#6
0
 public static List <MenuInfo> GetBackEndMenu(string UserName, int PortalID, string CultureCode, int UserMode)
 {
     try
     {
         List <MenuInfo> AdminMenu = MenuDataProvider.GetBackEndMenu(2, UserName, PortalID, CultureCode);
         if (UserMode == 1)
         {
             List <MenuInfo> SuperUserMenu = MenuDataProvider.GetBackEndMenu(3, UserName, PortalID, CultureCode);
             AdminMenu.AddRange(SuperUserMenu);
         }
         return(AdminMenu);
     }
     catch (Exception)
     {
         throw;
     }
 }