/// <summary>
 /// Updates profile.
 /// </summary>
 /// <param name="ProfileID">Profile ID.</param>
 /// <param name="Name">Profile name.</param>
 /// <param name="PropertyTypeID">Property type ID.</param>
 /// <param name="DataType">Data type.</param>
 /// <param name="IsRequired">Set true if profile is required.</param>
 /// <param name="IsActive">Set true if profile is active.</param>
 /// <param name="IsModified">Set true if profile is modified.</param>
 /// <param name="UpdatedOn">Profile updated date.</param>
 /// <param name="PortalID">Portal ID.</param>
 /// <param name="UpdatedBy">Profile updated user's name.</param>
 public void UpdateProfile(int ProfileID, string Name, int PropertyTypeID, string DataType, bool IsRequired, bool IsActive, bool IsModified, DateTime UpdatedOn, int PortalID, string UpdatedBy)
 {
     try
     {
         ProfileManagementProvider objProvider = new ProfileManagementProvider();
         objProvider.UpdateProfile(ProfileID, Name, PropertyTypeID, DataType, IsRequired, IsActive, IsModified, UpdatedOn, PortalID, UpdatedBy);
     }
     catch (Exception)
     {
         throw;
     }
 }
        public void UpdateProfile(int ProfileID, string Name, int PropertyTypeID, string DataType, bool IsRequired, bool IsActive, bool IsModified, DateTime UpdatedOn, int PortalID, string UpdatedBy)
        {
            try
            {
                ProfileManagementProvider objProvider = new ProfileManagementProvider();
                objProvider.UpdateProfile(ProfileID, Name, PropertyTypeID, DataType, IsRequired, IsActive, IsModified, UpdatedOn, PortalID, UpdatedBy);
            }
            catch (Exception)
            {

                throw;
            }
        }