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

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

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

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