I have a webAPI project with reminder class
There it is
public class ReminderItem
{
public Guid Id { get; set; }
public string Subject { get; set; }
public string Notes { get; set; }
public DateTime RemindDate { get; set; }
public Guid AuthorId { get; set; }
public string AuthorEmail { get; set; }
public bool IsActive { get; set; }
public bool IsCancelled { get; set; }
}
I need to make add/update/delete events for it. This is all done already and works. But also I need to make email message sending to AuthorEmail on DateTime. This is
RemindDate
property. But I never do this. Maybe you can help me, how I can do this? Or where I can read about this? Because I understood how to do this on program launch. Like, check DateTime now with DateTime in DB. But, how I can do this to make it automatically when the program is already running?