Example #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();
 }