public ActionResult AddNews(NewsFormViewModel model, HttpPostedFileBase upload)
        {
            var news = new News
            {
                Headline = model.Headline,
                Text     = model.Text,
                Author   = model.Author
            };

            if (upload != null && upload.ContentLength > 0)
            {
                using (var reader = new System.IO.BinaryReader(upload.InputStream))
                {
                    news.Picture = reader.ReadBytes(upload.ContentLength);
                }
            }

            db.AddNews(news);

            return(RedirectToAction("Index"));
        }