public StudentRepository(TestArchitectureContext context) : base(context)
 {
     _dbContext = context;
 }
예제 #2
0
 public TeacherRepository(TestArchitectureContext context) : base(context)
 {
     _dbContext = context;
 }
예제 #3
0
 public StudentService(TestArchitectureContext dbContext) : base(new BaseRepository <Student>(dbContext))
 {
 }
 public TeacherService(TestArchitectureContext dbContext) : base(new BaseRepository <Teacher>(dbContext))
 {
 }