/// <summary> /// Confirms the registration. /// </summary> /// <param name="token">The token.</param> /// <returns>True if success otherwise false.</returns> public bool ConfirmRegistration(string token) { if (String.IsNullOrEmpty(token)) { throw new ArgumentException("Token cannot be null or empty.", "token"); } return(_userAuthentication.ConfirmRegistration(token)); }