public EmailResult SendContact(ContactViewModel model)
 {
     To.Add("*****@*****.**");
     From = "*****@*****.**";
     ReplyTo.Add(model.From);
     Subject = model.Subject;
     return Email("Contact", model);
 }
 public ActionResult Contact(ContactViewModel model)
 {
     if (ModelState.IsValid)
     {
         new MailController().SendContact(model).DeliverAsync();
         return RedirectToAction("ContactMessageSent");
     }
     else
     {
         return View("Contact", model);
     }
 }
 public ViewResult Contact()
 {
     ContactViewModel model = new ContactViewModel();
     return View(model);
 }