public ActionResult Create(NoticiasEntity noticiasentity, DateTime data)
        {
            if (ModelState.IsValid)
            {
                noticiasentity.data = data;
                noticiasentity.CorpoNoticia = noticiasentity.CorpoNoticia.Replace("*b*", "<b>").Replace("*/b*", "</b>").Replace("*u*", "<u>").Replace("*/u*", "</u>").Replace("*p*", "<p>").Replace("*/p*", "</p>");
                db.NoticiasEntity.Add(noticiasentity);
                db.SaveChanges();
                return RedirectToAction("ManageNoticias");
            }

            return RedirectToAction("ManageNoticias");
        }
 public ActionResult Edit(NoticiasEntity noticiasentity)
 {
     if (ModelState.IsValid)
     {
         db.Entry(noticiasentity).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("ManageNoticias");
     }
     return View(noticiasentity);
 }