public static void AddNewUser(RealTimeNotificationInfo realTimeObj, AspxCommonInfo aspxCommonObj) { try { AspxRealTimeNotificationProvider.AddNewUser(realTimeObj, aspxCommonObj); } catch (Exception ex) { throw ex; } }
public static void RemoveUser(int portalID, string connectionID) { try { AspxRealTimeNotificationProvider.RemoveUser(portalID, connectionID); } catch (Exception ex) { throw ex; } }
public static List <OnlineUsersInfo> GetOnlineUserList(AspxCommonInfo aspxCommonObj, string sessionID) { try { List <OnlineUsersInfo> lstUsers = AspxRealTimeNotificationProvider.GetOnlineUserList(aspxCommonObj, sessionID); return(lstUsers); } catch (Exception ex) { throw ex; } }