public ActionResult Create(PhoneNumberPrefixEdit phoneNumberPrefixEdit)
        {
            if (ModelState.IsValid)
            {
                PhoneNumberPrefix phoneNumberPrefix = phoneNumberPrefixEdit.GetModel();
                Db.PhoneNumberPrefixes.Add(phoneNumberPrefix);
                Db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(phoneNumberPrefixEdit);
        }
        public ActionResult Edit(PhoneNumberPrefixEdit phoneNumberPrefixEdit)
        {
            if (ModelState.IsValid)
            {
                PhoneNumberPrefix phoneNumberPrefix = phoneNumberPrefixEdit.GetModel();
                Db.Entry(phoneNumberPrefix).State = EntityState.Modified;
                Db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(phoneNumberPrefixEdit);
        }
        public static PhoneNumberPrefixEdit GetModelView(PhoneNumberPrefix phoneNumberPrefix)
        {
            if (phoneNumberPrefix == null)
                return null;

            var phoneNumberPrefixEdit = new PhoneNumberPrefixEdit(phoneNumberPrefix);
            return phoneNumberPrefixEdit;
        }