/// <summary> /// Initiate controller with injectors. /// </summary> /// <param name="unitOfWork"></param> /// <param name="mapper"></param> /// <param name="baseTimeService"></param> /// <param name="relationalDbService"></param> /// <param name="encryptionService"></param> /// <param name="profileService"></param> /// <param name="systemBaseTimeService"></param> /// <param name="externalAuthenticationService"></param> /// <param name="sendMailService"></param> /// <param name="emailCacheService"></param> /// <param name="jwtConfigurationOptions"></param> /// <param name="applicationSettings"></param> /// <param name="logger"></param> /// <param name="vgyService"></param> /// <param name="profileCacheService"></param> /// <param name="captchaService"></param> /// <param name="realTimeService"></param> /// <param name="userDomain"></param> public UserController( IAppUnitOfWork unitOfWork, IMapper mapper, IBaseTimeService baseTimeService, IBaseRelationalDbService relationalDbService, IBaseEncryptionService encryptionService, IAppProfileService profileService, IBaseTimeService systemBaseTimeService, IExternalAuthenticationService externalAuthenticationService, ISendMailService sendMailService, IEmailCacheService emailCacheService, IOptions <AppJwtModel> jwtConfigurationOptions, IOptions <ApplicationSetting> applicationSettings, ILogger <UserController> logger, IVgyService vgyService, IBaseKeyValueCacheService <int, User> profileCacheService, ICaptchaService captchaService, IUserDomain userDomain) : base( unitOfWork, mapper, baseTimeService, relationalDbService, profileService) { _logger = logger; _profileService = profileService; _sendMailService = sendMailService; _emailCacheService = emailCacheService; _captchaService = captchaService; _userDomain = userDomain; }
/// <summary> /// Initiate controller with injectors. /// </summary> /// <param name="captchaService"></param> /// <param name="profileCacheService"></param> /// <param name="userDomain"></param> public UserController( ICaptchaService captchaService, IBaseKeyValueCacheService <int, User> profileCacheService, IUserDomain userDomain) { _captchaService = captchaService; _userDomain = userDomain; }
/// <summary> /// Initiate requirement handler with injectors. /// </summary> /// <param name="unitOfWork"></param> /// <param name="profileService"></param> /// <param name="httpContextAccessor"></param> /// <param name="profileCacheService"></param> public SolidAccountRequirementHandler( IAppUnitOfWork unitOfWork, IAppProfileService profileService, IHttpContextAccessor httpContextAccessor, IBaseKeyValueCacheService <int, User> profileCacheService) { _unitOfWork = unitOfWork; _profileService = profileService; _httpContextAccessor = httpContextAccessor; _profileCacheService = profileCacheService; }
public UserDomain(IBaseEncryptionService encryptionService, IAppUnitOfWork unitOfWork, IExternalAuthenticationService externalAuthenticationService, IBaseKeyValueCacheService <int, User> profileCacheService, IBaseTimeService baseTimeService, IBaseRelationalDbService relationalDbService, IAppProfileService profileService, IVgyService vgyService, IOptions <ApplicationSetting> applicationSettingOptions, IOptions <AppJwtModel> appJwt) { _encryptionService = encryptionService; _unitOfWork = unitOfWork; _externalAuthenticationService = externalAuthenticationService; _baseTimeService = baseTimeService; _applicationSettings = applicationSettingOptions.Value; _relationalDbService = relationalDbService; _appJwt = appJwt.Value; _profileCacheService = profileCacheService; _vgyService = vgyService; _profileService = profileService; }