public async Task <List <LogEntry> > GetAllAsync() { var items = await _logEntriesRepository.GetAllAsync(); if (items != null && items.Any()) { return(items.ToList()); } return(new List <LogEntry>()); }
public async Task <List <LogEntry> > GetAllAsync() { var items = await _logEntriesRepository.GetAllAsync(); return(items.ToList()); }