public void DeleteEmp(int EmpId) { Employees emp = _context.Employees.Find(EmpId); _context.Remove(emp); _context.SaveChanges(); }