Beispiel #1
0
 public bool UpdateDetectionError(DetectionError detectionError)
 {
     _unitOfWork.DetectionErrorRepository.Update(detectionError);
     _unitOfWork.SaveChangesAsync();
     return(true);
 }
Beispiel #2
0
 public void InsertDetectionError(DetectionError detectionError)
 {
     _unitOfWork.DetectionErrorRepository.Add(detectionError);
     _unitOfWork.SaveChanges();
 }