예제 #1
0
 private void SendEmailNotification(object sender, UserEventArgs e)
 {
     Console.WriteLine($"Dear {e.Name}, we've received your request for changing password.");
     Console.WriteLine("Confirm this by dialing *555*1*2*3#");
     Console.WriteLine("The service is free\n");
 }
예제 #2
0
 private void SendEmailNotification(object sender, UserEventArgs e)
 {
     Console.WriteLine($"Dear {e.Name}, we've received your password change request.");
     Console.WriteLine("For confirmation please click on the link below.");
     Console.WriteLine($"https://musicservice.com/user/{e.Login}/resetPassword?email={e.Email}\n");
 }