public GenericRepository(MyCmsContext context) { _context = context; _table = _context.Set <T>(); }
public PageRepository(MyCmsContext context) { this.db = context; }
public LoginRepository(MyCmsContext context) { db = context; }
public MainActivity(MyCmsContext context) { db = context; }
public CustomRepositories(MyCmsContext context) { db = context; }
public GenericRepository(MyCmsContext db) { _db = db; _dbSet = db.Set <TEntity>(); }
public PageCommentRepository(MyCmsContext context) { db = context; }