public void Validate(string id)
 {
     if (!string.IsNullOrWhiteSpace(id) && id != "undefined")
     {
         EmailValidation emailValidation = _valkyraRegisterRepository.ValidationExist(id);
         if (emailValidation != null)
         {
             CustomerWebAccount customerWebAccount = _valkyraRegisterRepository.GetCustomerWebAccount(emailValidation.CustomerWebAccountId);
             customerWebAccount.Verified = true;
             _valkyraRegisterRepository.UpdateCustomerWebAccount(customerWebAccount);
         }
         else
         {
             throw new Exception();
         }
     }
     else
     {
         throw new Exception();
     }
 }