Beispiel #1
0
 public UsersService(
     UserManager <AppUser> userManager,
     ICurrentUserService currentUserService,
     IMapper mapper,
     IModuleTutorsRepository moduleTutorsRepository)
 {
     _userManager            = userManager;
     _currentUserService     = currentUserService;
     _mapper                 = mapper;
     _moduleTutorsRepository = moduleTutorsRepository;
 }
 public StudentTutorsService(
     IRepository <StudentTutor> studentTutorsRepository,
     ICurrentUserService currentUserService,
     IModuleTutorsRepository moduleTutorsRepository,
     IRepository <TutoringSession> tutoringSessionsRepository,
     IRepository <StudentTutorIgnore> studentTutorIgnoresRepository,
     IHubsService hubsService)
 {
     _studentTutorsRepository       = studentTutorsRepository;
     _currentUserService            = currentUserService;
     _moduleTutorsRepository        = moduleTutorsRepository;
     _tutoringSessionsRepository    = tutoringSessionsRepository;
     _studentTutorIgnoresRepository = studentTutorIgnoresRepository;
     _hubsService = hubsService;
 }