public static String getLoggedInUserOrganization() { try { DataTable dt = new BL_User().select(SessionHandler.getLoggedInUsername()); return(dt.Rows.Count >= 1 ? dt.Rows[0]["organization_name"].ToString() : string.Empty); } catch (Exception ex) { return(string.Empty); } }
public static string getProfileImageURL() { string profile_pic_url = new BL_User().select(SessionHandler.getLoggedInUsername()).Rows[0]["profile_picture_url"].ToString(); return((profile_pic_url == string.Empty || profile_pic_url == null) ? AppFunction.ReadSetting("DefaultProPicURL") : profile_pic_url); }