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

            db.AL_Curriculum.Remove(aL_Curriculum);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "ALCurID,Name,Description,ZorMean")] AL_Curriculum aL_Curriculum)
 {
     if (ModelState.IsValid)
     {
         db.Entry(aL_Curriculum).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(aL_Curriculum));
 }
        public ActionResult Create([Bind(Include = "ALCurID,Name,Description,ZorMean")] AL_Curriculum aL_Curriculum)
        {
            if (ModelState.IsValid)
            {
                db.AL_Curriculum.Add(aL_Curriculum);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

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

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