public ActionResult Create(tblEmployee tblemployee)
        {
            if (ModelState.IsValid)
            {
                db.tblEmployees.Add(tblemployee);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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