/// <summary> /// /// </summary> /// <param name="pActivationCode"></param> /// <returns></returns> public static HealthInstitutionBE ValidateActivationCode(string pActivationCode) { ValidateActivationCodeReq req = new ValidateActivationCodeReq(); req.BusinessData.Code = pActivationCode; //req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); ValidateActivationCodeRes res = req.ExecuteService <ValidateActivationCodeReq, ValidateActivationCodeRes>(req); if (res.Error != null) { throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); } return(res.BusinessData); }
/// <summary> /// /// </summary> /// <param name="pActivationCode"></param> /// <returns></returns> public static HealthInstitutionBE ValidateActivationCode(string pActivationCode) { ValidateActivationCodeReq req = new ValidateActivationCodeReq(); req.BusinessData.Code = pActivationCode; //req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); ValidateActivationCodeRes res = req.ExecuteService<ValidateActivationCodeReq, ValidateActivationCodeRes>(req); if (res.Error != null) throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); return res.BusinessData; }