[HttpPost]
public ActionResult Delete(IEnumerable employeeIdsToDelete)
{
var lstemployee = _db.StudentEmployees.Where(x => employeeIdsToDelete.Contains(x.Id));
foreach (var item in lstemployee)
{
_db.StudentEmployees.Remove(item);
}
_db.SaveChanges();
return RedirectToAction("Index");
}