public void SendMail(object source, MovieEventArgs args) { Console.WriteLine("Sending email ..... "); Console.WriteLine($"The movie {args.MovieTitle} is available at the store"); }
public void SendPushNotifications(object source, MovieEventArgs args) { Console.WriteLine("Sending push notifications....."); Console.WriteLine($"Push notification: {args.MovieTitle} is available at the store."); }