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