/// <summary> /// Delete user profile picture. /// </summary> /// <param name="UserName">User name.</param> /// <param name="PortalID">PortalID</param> public static void DeleteProfilePic(string UserName, int PortalID) { try { UserProfileDataProvider.DeleteProfilePic(UserName, PortalID); } catch (Exception) { throw; } }
/// <summary> /// Update cart from anonymous user to registered user. /// </summary> /// <param name="storeID">StoreID</param> /// <param name="portalID">PortalID</param> /// <param name="customerID">CustomerID</param> /// <param name="sessionCode">Session Code</param> /// <returns>True for successfully update.</returns> public static bool UpdateCartAnonymoususertoRegistered(int storeID, int portalID, int customerID, string sessionCode) { try { return(UserProfileDataProvider.UpdateCartAnonymoususertoRegistered(storeID, portalID, customerID, sessionCode)); } catch (Exception e) { throw e; } }
/// <summary> /// Obtain user profile. /// </summary> /// <param name="UserName">User name.</param> /// <param name="PortalID">PortalID</param> /// <returns>Object of UserProfileInfo class.</returns> public static UserProfileAdditionalInfo GetProfile(string UserName, int PortalID) { try { return(UserProfileDataProvider.GetProfile(UserName, PortalID)); } catch (Exception) { throw; } }
/// <summary> /// Add update user profile. /// </summary> /// <param name="objProfile">Object of UserProfileInfo class.</param> public static void AddUpdateProfile(UserProfileInfo objProfile) { try { UserProfileDataProvider.AddUpdateProfile(objProfile); } catch (Exception) { throw; } }
/// <summary> /// Obtain user profile. /// </summary> /// <param name="UserName">User name.</param> /// <returns>Object of UserProfileInfo class.</returns> public static UserProfileInfo GetPublicProfile(string UserName) { try { return(UserProfileDataProvider.GetProfile(UserName, 1)); } catch (Exception) { throw; } }
/// <summary> /// Obtain user Export List. /// </summary> /// <returns>List of Export User List</returns> public List <ExportUserInfo> GetUserExportList() { try { UserProfileDataProvider objProvider = new UserProfileDataProvider(); return(objProvider.GetUserExportList()); } catch (Exception) { throw; } }
public string GetUserImageName(string Username) { try { UserProfileDataProvider objProvider = new UserProfileDataProvider(); return(objProvider.GetUserImageName(Username)); } catch (Exception) { throw; } }
/// <summary> /// Obtain user Export List. /// </summary> /// <returns>List of Export User List</returns> public List<ExportUserInfo> GetUserExportList() { try { UserProfileDataProvider objProvider = new UserProfileDataProvider(); return objProvider.GetUserExportList(); } catch (Exception) { throw; } }