public bool DeleteSessionAttempt(SessionAttempt entity) { if (entity == null) return false; _unitOfWork.SessionAttemptRepository.Delete(entity); _unitOfWork.Save(); return true; }
public bool EditSessionAttempt(SessionAttempt entity) { _unitOfWork.SessionAttemptRepository.Edit(entity); _unitOfWork.Save(); return true; }