public GenericRepository(DADContext dc)
 {
     context = dc;
     dbSet   = dc.Set <TEntity>();
 }
 public ThumbnailRepository(DADContext d)
 {
     dc = d;
 }