public StudentRepository(TestArchitectureContext context) : base(context)
 {
     _dbContext = context;
 }
Exemplo n.º 2
0
 public TeacherRepository(TestArchitectureContext context) : base(context)
 {
     _dbContext = context;
 }
Exemplo n.º 3
0
 public StudentService(TestArchitectureContext dbContext) : base(new BaseRepository <Student>(dbContext))
 {
 }
 public TeacherService(TestArchitectureContext dbContext) : base(new BaseRepository <Teacher>(dbContext))
 {
 }