public StudentRepository(TestArchitectureContext context) : base(context) { _dbContext = context; }
public TeacherRepository(TestArchitectureContext context) : base(context) { _dbContext = context; }
public StudentService(TestArchitectureContext dbContext) : base(new BaseRepository <Student>(dbContext)) { }
public TeacherService(TestArchitectureContext dbContext) : base(new BaseRepository <Teacher>(dbContext)) { }