public void Update(Exam entity) { _examDal.Update(entity); }
public IResult TransactionalOperation(Exam exam) { _examDal.Update(exam); _examDal.Add(exam); return(new SuccessResult(Messages.ExamUpdated)); }
public void Update(int examId) { _examDal.Update(_examDal.Get(filter: exam => exam.Id == examId)); }