public ActionResult Contact()
 {
     var article = _publishedArticleService.GetArticleByArticleType(5);
     ViewBag.ShowPartial = "Twitter";
     ViewBag.Message = "Contact";
     var cmv = new ContactViewModel();
     cmv.article = article;
     return View(cmv);
 }
        public ActionResult Contact(ContactViewModel contactVM)
        {
            var article = _publishedArticleService.GetArticleByArticleType(5);
            ViewBag.ShowPartial = "Twitter";
            ViewBag.Message = "Contact";
            contactVM.article = article;
            if (!ModelState.IsValid)
            {
                return View(contactVM);
            }

            var contact = new Contact()
            {
                From = contactVM.From,
                Subject = contactVM.Subject,
                Message = contactVM.Message
            };

            new Email().Send(contact);

            return RedirectToAction("ContactConfirm");
        }