public void UpdateAccidentRecordStatus(long accidentRecordId, long companyId, Guid userId, AccidentRecordStatusEnum status)
        {
            var accidentRecord = _accidentRecordRepository.GetByIdAndCompanyId(accidentRecordId, companyId);

            if (accidentRecord == null)
            {
                var e = new AccidentRecordNotFoundException(accidentRecordId, companyId);
                _log.Add(e);
                throw (e);
            }

            var user = _userForAuditingRepository.GetByIdAndCompanyId(userId, companyId);
            accidentRecord.UpdateAccidentRecordStatus(status, user);
        }
  		public void Delete(long accidentRecordId, long companyId, Guid userId)
        {
            _log.Add(new[] { accidentRecordId, companyId });

            var accidentRecord = _accidentRecordRepository.GetByIdAndCompanyId(accidentRecordId, companyId);
            
            if (accidentRecord == null)
            {
                var e = new AccidentRecordNotFoundException(accidentRecordId, companyId);
                _log.Add(e);
                throw (e);
            }
            
            var user = _userForAuditingRepository.GetByIdAndCompanyId(userId, companyId);
            accidentRecord.MarkForDelete(user);
        }