Пример #1
0
 public SummonerService(ISummonerRepository summonerRepository, ILeagueApiService apiService, IRegionRepository regionRepository, IModelMapper<Summoner, SummonerModel> summonerModelMapper, ISecureTokenGenerator secureTokenGenerator)
 {
     _summonerRepository = summonerRepository;
     _apiService = apiService;
     _regionRepository = regionRepository;
     _summonerModelMapper = summonerModelMapper;
     _secureTokenGenerator = secureTokenGenerator;
 }
Пример #2
0
 public TeacherController(ISecureTokenGenerator secureTokenGenerator,
                          Messages messages,
                          ITeacherMapper teacherMapper,
                          UserManager <ApplicationUser> userManager)
 {
     _secureTokenGenerator = secureTokenGenerator;
     _messages             = messages;
     _teacherMapper        = teacherMapper;
     _userManager          = userManager;
 }
Пример #3
0
 public AdminController(IUrlHelperFactory urlHelperFactory,
                        IActionContextAccessor actionContextAccessor,
                        ISecureTokenGenerator secureTokenGenerator,
                        Messages messages, IStudentMapper studentMapper)
 {
     _secureTokenGenerator = secureTokenGenerator;
     _messages             = messages;
     _studentMapper        = studentMapper;
     _urlHelper            = urlHelperFactory.GetUrlHelper(actionContextAccessor.ActionContext);
 }