예제 #1
0
 public void AddLinksToDB(List <string> collection, int iteration)
 {
     foreach (var item in collection)
     {
         if (linkService.ContainsByLink(item))
         {
             continue;
         }
         var id = linkService.AddNewLink(new LinkInfo()
         {
             Link      = item,
             Iteration = iteration
         });
     }
 }