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