public ActionResult Create(ClientType clienttype)
        {
            if (ModelState.IsValid)
            {
                db.ClientTypes.Add(clienttype);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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