public static void SendReminder(string to, Prescription prescription) { _emailFactory = new EmailFactory(to); var mail = _emailFactory.GetEmailReminder(prescription); Service.SendAsync(mail.ToIdentityMessage()); }