public void AddRange(List <HistoryDbModel> list) { historyRepository.AddRange(list); }
public async Task AddRange(List <HistoryDbModel> list) { ServiceEventSource.Current.ServiceMessage(_context, "HistoryService - AddRange"); await Task.Factory.StartNew(() => _repo.AddRange(list)); }