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