public static void UpdatePortal(int PortalID, string PortalName, bool IsParent, string UserName) { try { PortalProvider.UpdatePortal(PortalID, PortalName, IsParent, UserName); } catch (Exception) { throw; } }
public static void DeleteStorePortal(int PortalID, int StoreID, string UserName) { try { PortalProvider.DeleteStorePortal(PortalID, StoreID, UserName); } catch (Exception) { throw; } }
public static PortalInfo GetPortalByPortalID(int PortalID, string UserName) { try { return(PortalProvider.GetPortalByPortalID(PortalID, UserName)); } catch (Exception) { throw; } }
public static List <PortalInfo> GetPortalList() { try { return(PortalProvider.GetPortalList()); } catch (Exception ex) { throw ex; } }
public static void UpdatePortalModules(string ModuleIDs, string IsActives, int PortalID, string UpdatedBy) { try { PortalProvider.UpdatePortalModules(ModuleIDs, IsActives, PortalID, UpdatedBy); } catch (Exception ex) { throw ex; } }
/// <summary> /// Returns parent portal lists /// </summary> /// <returns>list of parent portals</returns> public List <PortalInfo> GetParentPortalList() { try { PortalProvider objProvider = new PortalProvider(); return(objProvider.GetParentPortalList()); } catch (Exception ex) { throw ex; } }