public ActionResult Edit(News news)
 {
     if (ModelState.IsValid)
     {
         newsService.Update(news);
         newsService.Commit();
         SuccessMessage(FormMessages.SaveSuccess);
         return RedirectToAction("Index");
     }
     return View(news);
 }
        public void CanCreateNews()
        {
            string subject = "This is a news subject";
            string message = "News message goes    here";
            DateTime newsDate = DateTime.Now;

            News news = new News(subject, message);

            Assert.That(news.Subject, Is.EqualTo(subject));
            Assert.That(news.Message, Is.EqualTo(message));
            Assert.That(news.NewsDate.Date, Is.EqualTo(newsDate.Date));
        }