public GenericRepository(PerformanceReviewDbContext context) { Context = context; // context.Database.CreateIfNotExists(); dbSet = context.Set <TEntity>(); }
public DepartmentsRepository(PerformanceReviewDbContext context) : base(context) { }
public UnitOfWork() { context = new PerformanceReviewDbContext(); }
public UsersRepository(PerformanceReviewDbContext context) : base(context) { }
public UnitOfWork(PerformanceReviewDbContext context) { this.context = context; }