public async Task <GetResponse <IReadOnlyList <IAuditEvent> > > GetAllAsync()
        {
            var getResponse = new GetResponse <IReadOnlyList <IAuditEvent> >();

            try
            {
                getResponse = await _auditEventRepository.GetAllAsync();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
                getResponse.AddError(ex);
                _logManager.LogError(ex, "Error retrieving auditEvents");
            }

            return(getResponse);
        }
        public async Task <IEnumerable <AuditEventViewModel> > GetAllAsync(int skip = 0, int take = 20)
        {
            var list = await _auditEventRepository.GetAllAsync(skip, take);

            return(_mapper.Map <IEnumerable <AuditEventViewModel> >(list));
        }