public ProfessorController(AppointmentSchedulerContext context, EmailService emailService) { _respository = new ProfessorRespository(context, emailService); }
public AuthenticationController(AppointmentSchedulerContext context, IConfiguration configuration, EmailService emailService) { _respository = new ProfessorRespository(context, emailService); _configuration = configuration; }