public UserLogicBadExample2() { _authService = new OutlookOAuthService(); _emailService = new OutlookEmailService(); }
public void Register(string emailAddress, string password) { OutlookOAuthService authResult = _authService.RegisterUser(emailAddress, password); _emailService.SendEmail(emailAddress, authResult.ConfirmationMessage); }