public ActionResult Typed() { var email = new TypedEmail(); email.Date = DateTime.UtcNow.ToString(); return new EmailViewResult(email); }
public ActionResult SendTypedEmail() { var email = new TypedEmail(); email.Date = DateTime.UtcNow.ToString(); email.Send(); return RedirectToAction("Sent", "Home"); }
public ActionResult Typed() { var email = new TypedEmail(); email.Date = DateTime.UtcNow.ToString(); return(new EmailViewResult(email)); }
public ActionResult SendTypedEmail() { var email = new TypedEmail(); email.Date = DateTime.UtcNow.ToString(); email.Send(); return(RedirectToAction("Sent", "Home")); }