/// <summary> /// 根据FunctionID删除某项用途 /// </summary> /// <param name="groupID"></param> /// <returns></returns> public static bool DeleteFunctionByFunctionID(Guid FunctionID) { //SqlParameter[] Parameters = new SqlParameter[1]; //Parameters[0] = new SqlParameter("@FunctionId", SqlDbType.UniqueIdentifier); //Parameters[0].Value = new Guid(FunctionID); //int result = SqlHelper.ExecuteNonQuery(SqlHelper.SqlCon_QJVRMS, CommandType.StoredProcedure, "Function_DeleteFunction", Parameters); //return result == 1; FunctionService fs = new FunctionService(); return(fs.DeleteFunctionByFunctionID(FunctionID)); }