public bool SaveAccountRegisterPro(int systemId, string companyId, string memberId, string password, string phone, string ipAddress) { try { int errCode = -1; string errMsg = "fail"; var result = LdCmsDbEntitiesContext.SP_Add_Member_AccountRegister(systemId, companyId, memberId, password, phone, ipAddress, out errCode, out errMsg); if (errCode != 0) { throw new Exception(errMsg); } return(errCode == 0 ? true : false); } catch (Exception ex) { throw new Exception(ex.Message); } }