public virtual void Update(params T[] items)
 {
     using (var context = new AutotraderScraperContext())
     {
         foreach (T item in items)
         {
             context.Entry(item).State = EntityState.Modified;
         }
         context.SaveChanges();
     }
 }
 public virtual void Create(T[] items)
 {
     using (var context = new AutotraderScraperContext())
     {
         foreach (T item in items)
         {
             item.DateAdded            = DateTime.Now;
             context.Entry(item).State = EntityState.Added;
         }
         context.SaveChanges();
     }
 }