public ActionResult Edit(WorkStationType workstationtype)
 {
     if (ModelState.IsValid)
     {
         db.Entry(workstationtype).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(workstationtype);
 }
        public ActionResult Create(WorkStationType workstationtype)
        {
            if (ModelState.IsValid)
            {
                db.WorkStationTypes.Add(workstationtype);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(workstationtype);
        }