Example #1
0
 public async Task SaveData(List <Contract> contracts)
 {
     try
     {
         await _contractRepository.AddRangeOfContractsAsync(contracts);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
     }
 }