示例#1
0
 public IResult Delete(int examId)
 {
     _examDal.Delete(_examDal.Get(filter: exam => exam.Id == examId));
     return(new SuccessResult(Messages.ExamDeleted));
 }
示例#2
0
 public void Delete(Exam entity)
 {
     _examDal.Delete(entity);
 }
示例#3
0
 public void Delete(int examId)
 {
     _examDal.Delete(_examDal.Get(filter: exam => exam.Id == examId));
 }