public ActionResult SubscriptionTest() { var mailController = new MailController(); var email = mailController.Subscription("Привет, мир!", CurrentUser.Email); email.Deliver(); return(Content("OK")); }
public ActionResult SubscriptionTest() { var mailController = new MailController(); var email = mailController.Subscription("Привет, мир!", CurrentUser.Email); email.Deliver(); return Content("OK"); }