/// <summary> /// PH_UserProfile_Delete /// </summary> /// <param name="strConnDB"></param> /// <param name="drProfile"></param> /// <returns></returns> public static string PH_UserProfile_Delete(string strConnDB, AppCode_DS.PHDS_User.User_ProfileRow drProfile) { try { return(SqlHelper.ExecuteNonQuery(strConnDB, "sp_userprofile_delete", new SqlParameter[] { new SqlParameter("@UserID", drProfile.UserID) }).ToString()); } catch (Exception ex) { throw new Exception("PH_UserProfile_Delete >>" + ex.Message); } }
/// <summary> /// PH_UserProfile_Insert /// </summary> /// <param name="strConnDB"></param> /// <param name="drProfile"></param> /// <returns></returns> public static string PH_UserProfile_Insert(string strConnDB, AppCode_DS.PHDS_User.User_ProfileRow drProfile) { try { return(SqlHelper.ExecuteNonQueryTypedParams(strConnDB, "usp_PrimaryHaul_UserProfileInsert", drProfile).ToString()); } catch (Exception ex) { throw new Exception("PH_UserProfile_Insert >>" + ex.Message); } }