public ActionResult DeleteConfirmed(long id)
        {
            FeatureError featureerror = db.FeatureErrors.Find(id);

            db.FeatureErrors.Remove(featureerror);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        //
        // GET: /FeatureError/Delete/5

        public ActionResult Delete(long id = 0)
        {
            FeatureError featureerror = db.FeatureErrors.Find(id);

            if (featureerror == null)
            {
                return(HttpNotFound());
            }
            return(View(featureerror));
        }
 public ActionResult Edit(FeatureError featureerror)
 {
     if (ModelState.IsValid)
     {
         db.Entry(featureerror).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(featureerror));
 }
        public ActionResult Create(FeatureError featureerror)
        {
            if (ModelState.IsValid)
            {
                db.FeatureErrors.Add(featureerror);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(featureerror));
        }