Exemplo n.º 1
0
 public CategoryRepository(ExpertContext context)
 {
     _collection = context.Database.GetCollection <Category>("categories");
 }
Exemplo n.º 2
0
 public UserRepository(ExpertContext context)
 {
     _context = context;
 }
 public ExpertizyRepository(ExpertContext expertContext)
 {
     this.db = expertContext;
 }
Exemplo n.º 4
0
 public QuestionRepository(ExpertContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 public AnswerRepository(ExpertContext context)
 {
     _collection = context.Database.GetCollection <Answer>("answers");
 }