public IActionResult Delete(int id) { Designation em = _empRepo.DeleteData(id); return(RedirectToAction("AllDetails")); }