示例#1
0
 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));
 }