public ActionResult DeleteEmploye(string Id) { using (SecurityDBEntities entities = new SecurityDBEntities()) { entities.EmployeeMDelete_get(Convert.ToInt32(Id), Convert.ToInt32(Session["UserId"])); } return(Json("Deleted Successfully")); }