public ActionResult Edit([Bind(Include = "ContainertypeId,Containertype")] tbld_SKUContainertype tbldSkuContainertype)
 {
     if (ModelState.IsValid)
     {
         _db.Entry(tbldSkuContainertype).State = EntityState.Modified;
         _db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(tbldSkuContainertype));
 }
        public ActionResult Create([Bind(Include = "ContainertypeId,Containertype")] tbld_SKUContainertype tbldSkuContainertype)
        {
            if (ModelState.IsValid)
            {
                _db.tbld_SKUContainertype.Add(tbldSkuContainertype);
                _db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(tbldSkuContainertype));
        }
        public ActionResult DeleteConfirmed(int id)
        {
            tbld_SKUContainertype tbldSkuContainertype = _db.tbld_SKUContainertype.Find(id);

            if (tbldSkuContainertype != null)
            {
                _db.tbld_SKUContainertype.Remove(tbldSkuContainertype);
            }
            _db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        // GET: SKUContainer/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            tbld_SKUContainertype tbldSkuContainertype = _db.tbld_SKUContainertype.Find(id);

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