Esempio n. 1
0
 public bool DeleteErrorLog(ErrorLog errorLog)
 {
     if(errorLog==null) return false;
        _unitOfWork.ErrorLogRepository.Delete(errorLog);
        _unitOfWork.Save();
        return true;
 }
Esempio n. 2
0
 public bool EditErrorLog(ErrorLog errorLog)
 {
     _unitOfWork.ErrorLogRepository.Edit(errorLog);
        _unitOfWork.Save();
        return true;
 }
Esempio n. 3
0
 public bool AddErrorLog(ErrorLog errorLog)
 {
     _unitOfWork.ErrorLogRepository.Add(errorLog);
        _unitOfWork.Save();
        return true;
 }