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