Beispiel #1
0
 /// <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;
     }
 }
Beispiel #2
0
 /// <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;
     }
 }
Beispiel #3
0
 /// <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;
     }
 }
Beispiel #4
0
 /// <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;
     }
 }
Beispiel #5
0
 /// <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;
     }
 }
Beispiel #7
0
 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;
            }

        }