public bool DeleteInterfaceAccessWhiteListPro(int systemId, string companyId, string account, string ipAddress, int classId) { try { int errCode = -1; string errMsg = "fail"; var result = CTMSContext.SP_Delete_Sys_InterfaceAccessWhiteList(systemId, companyId, account, ipAddress, classId, out errCode, out errMsg); if (errCode != 0) { throw new Exception(errMsg); } return(result > 0); } catch (Exception ex) { throw new Exception(ex.Message); } }