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