public ActionResult Create(Supplier_Info supplier_info)
        {
            if (ModelState.IsValid)
            {
                supplier_info.active_flag = true;
                db.Supplier_Info.Add(supplier_info);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(supplier_info);
        }
 public ActionResult Edit(Supplier_Info supplier_info)
 {
     if (ModelState.IsValid)
     {
         db.Entry(supplier_info).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(supplier_info);
 }