Ejemplo n.º 1
0
 public ActionResult Email(Email email)
 {
     var db = new dbEntities();
     db.AddToForwardedEmails(new ForwardedEmail()
                                 {
                                     Created = DateTime.Now,
                                     From = email.From,
                                     Plain = email.Plain,
                                     Subject = email.Subject
                                 });
     db.SaveChanges();
     return new EmptyResult();
 }
Ejemplo n.º 2
0
 public ActionResult Email()
 {
     var email = new Email();
     return View(email);
 }