public ActionResult DeleteConfirmed(int id)
        {
            mozfeens mozfeens = db.mozfeens.Find(id);

            db.mozfeens.Remove(mozfeens);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "id,Mozf,Desc")] mozfeens mozfeens)
 {
     if (ModelState.IsValid)
     {
         db.Entry(mozfeens).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(mozfeens));
 }
        public ActionResult Create([Bind(Include = "id,Mozf,Desc")] mozfeens mozfeens)
        {
            if (ModelState.IsValid)
            {
                db.mozfeens.Add(mozfeens);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(mozfeens));
        }
        // GET: mozfeens/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            mozfeens mozfeens = db.mozfeens.Find(id);

            if (mozfeens == null)
            {
                return(HttpNotFound());
            }
            return(View(mozfeens));
        }