public void TuiXuan(int id, int code) { var score = scoreRepository.QueryByCode(code, id); scoreRepository.Delete(score); }