示例#1
0
 public IAuditEventRepository GetMSTeamsAuditEventRepository(List <AuditEventValueConverter> valueConverters, List <IMSTeamsMessageCreator> messageCreators, IMSTeamsAuditEventSettingsRepository msTeamsAuditEventSettingsRepository)
 {
     return(new MSTeamsAuditEventRepository(_environmentId, msTeamsAuditEventSettingsRepository.GetAll(), messageCreators, _auditEventTypeRepository));
 }
示例#2
0
 public IAuditEventRepository GetAuditEventRepository()
 {
     return(new MSTeamsAuditEventRepository("", _msTeamsAuditEventSettingsRepository.GetAll(), GetMessageCreators(), _auditEventTypeRepository));
 }
 public IEnumerable <MSTeamsAuditEventSettings> GetAll() => _msTeamsAuditEventSettingsRepository.GetAll();