public ActionResult Edit(Family family)
 {
     if (ModelState.IsValid)
     {
         db.Entry(family).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.Family_ShareUserType = new SelectList(db.ShareUserTypes, "Id", "Name", family.Family_ShareUserType);
     return View(family);
 }
        public ActionResult Create(Family family)
        {
            if (ModelState.IsValid)
            {
                db.Families.Add(family);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            ViewBag.Family_ShareUserType = new SelectList(db.ShareUserTypes, "Id", "Name", family.Family_ShareUserType);
            return View(family);
        }