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

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

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