public ActionResult Create(Refference refference)
        {


            if (ModelState.IsValid)
            {
                _db.Refferences.Add(refference);
                _db.SaveChanges();
                return RedirectToAction("Index");  
            }

            ViewBag.PossibleUser = _db.Users;
            return View(refference);
        }
 public ActionResult Edit(Refference refference)
 {
     if (ModelState.IsValid)
     {
         _db.Entry(refference).State = EntityState.Modified;
         _db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.PossibleUser = _db.Users;
     return View(refference);
 }