using System.Collections.Generic;
public class AlertService
private readonly AlertDAO storage = new AlertDAO();
return this.storage.AddAlert(DateTime.Now);
public DateTime GetAlertTime(Guid id)
return this.storage.GetAlert(id);
private readonly Dictionary<Guid, DateTime> alerts = new Dictionary<Guid, DateTime>();
public Guid AddAlert(DateTime time)
Guid id = Guid.NewGuid();
this.alerts.Add(id, time);
public DateTime GetAlert(Guid id)
public static void Main()
Console.WriteLine("Hello World");