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