public GenericRepository(ImgShareDemoContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork() { _context = new ImgShareDemoContext(); SetRepositories(); }
public GenericRepository(ImgShareDemoContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork() { _context = new ImgShareDemoContext(); SetRepositories(); }