/// <summary>
 /// Updates profile display order only if it is active .
 /// </summary>
 /// <param name="ProfileID">Profile ID.</param>
 /// <param name="DisplayOrder">Display order.</param>
 /// <param name="IsActive">Set true if profile is active.</param>
 /// <param name="UpdatedOn">Profile updated date.</param>
 /// <param name="PortalID">Portal ID.</param>
 /// <param name="Username">User's name.</param>
 public void UpdateProfileDisplayOrderAndIsActiveOnly(int ProfileID, int DisplayOrder, bool IsActive, DateTime UpdatedOn, int PortalID, string Username)
 {
     try
     {
         ProfileManagementProvider objProvider = new ProfileManagementProvider();
         objProvider.UpdateProfileDisplayOrderAndIsActiveOnly(ProfileID, DisplayOrder, IsActive, UpdatedOn, PortalID, Username);
     }
     catch (Exception)
     {
         throw;
     }
 }
        public void UpdateProfileDisplayOrderAndIsActiveOnly(int ProfileID, int DisplayOrder, bool IsActive, DateTime UpdatedOn, int PortalID, string Username)
        {
            try
            {
                ProfileManagementProvider objProvider = new ProfileManagementProvider();
                objProvider.UpdateProfileDisplayOrderAndIsActiveOnly(ProfileID, DisplayOrder, IsActive, UpdatedOn, PortalID, Username);
            }
            catch (Exception)
            {

                throw;
            }
        }