Suppose I have an entity:
public class Appointment
{
public DateTime AppointmentDateTime {get;set}
public string CustomerName {get;set;}
public string CustomerEmail {get;set;}
}
How can I schedule an email to be sent to customer 2 Hours before AppointmentDateTime Automatically? Also is it possible to reschedule the email time when AppointmentDateTime is changed?