public ActionResult Edit(NewsSite newssite)
 {
     if (ModelState.IsValid)
     {
         context.Entry(newssite).State = EntityState.Modified;
         context.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(newssite);
 }
        public ActionResult Create(NewsSite newssite)
        {
            if (ModelState.IsValid)
            {
                context.NewsSites.Add(newssite);
                context.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(newssite);
        }