Esempio n. 1
0
 public QuestionRepository(SmartmanDbContext context) : base(context)
 {
 }
Esempio n. 2
0
 public QuestionsController(SmartmanDbContext dbContext)
 {
     _userRepository     = new UserRepository(dbContext);
     _questionRepository = new QuestionRepository(dbContext);
     _historyRepository  = new HistoryRepository(dbContext);
 }
Esempio n. 3
0
 public HistoryRepository(SmartmanDbContext context) : base(context)
 {
 }
Esempio n. 4
0
 public UserController(SmartmanDbContext dbContext)
 {
     _userRepository = new UserRepository(dbContext);
 }
Esempio n. 5
0
 public UserRepository(SmartmanDbContext context) : base(context)
 {
 }
Esempio n. 6
0
 protected AbstractRepository(SmartmanDbContext context)
 {
     _dbContext = context;
 }