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

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

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

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