public ActionResult Edit(TypeEmployeViewModel cl)
 {
     if (ModelState.IsValid)
     {
         var us = Mapper.Map<TypeEmployeViewModel, TypeEmploye>(cl);
         ty_.update(us);
         return RedirectToAction("index");
     }
     return View(cl);
 }
        public ActionResult Create(TypeEmployeViewModel cl)
        {
            if (ModelState.IsValid)
            {
                var us_ = Mapper.Map<TypeEmployeViewModel, TypeEmploye>(cl);
                ty_.add(us_);

                return RedirectToAction("Index");
            }

            return View(cl);
        }