public AuthStudentController(IAuthStudentRepository repository, IConfiguration config, DataContext context) { _config = config; _repository = repository; _context = context; }
public AuthController(IAuthStudentRepository studentRepo, IConfiguration config, DataContext context) { _config = config; _studentRepo = studentRepo; _context = context; }