public ActionResult Edit(CampaignEvent campaignevent)
 {
     if (ModelState.IsValid)
     {
         db.Entry(campaignevent).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(campaignevent);
 }
        public ActionResult Create(CampaignEvent campaignevent)
        {
            if (ModelState.IsValid)
            {
                db.CampaignEvents.Add(campaignevent);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(campaignevent);
        }