public UserData(IOptions <DatabaseSettings> dbOptions, IUserRoleData userRoleData) : base(dbOptions) { this._settings = dbOptions.Value; this._connectionString = this._settings.Main.ConnectionString; this._dbAdapter = this._settings.Main.Adapter; this._userRoleData = userRoleData; }
public UserRoleBusiness( IUserRoleData data, IUserData userData, IRoleData roleData) { this.data = data; this.userData = userData; this.roleData = roleData; }
public TokenController(UserManager <ApplicationUser> userManager, IUserRoleData userRoleData, IConfiguration configuration, IApiErrorHandler apiErrorHandler) { _userManager = userManager; _userRoleData = userRoleData; _configuration = configuration; _apiErrorHandler = apiErrorHandler; }
public AdminRepo( IUserRoleData role, IUserData user, IMap map ) { _role = role; _user = user; _map = map; }
public UserService(IUserData userData, IRoleData roleData, IUserRoleData userRoleData, IUserRefreshTokenData userRefreshTokenData, IOptions <AuthenticationSettings> authenticationSettings, IMapper mapper, IEmailSender emailSender) { this._userData = userData; this._roleData = roleData; this._userRoleData = userRoleData; this._userRefreshTokenData = userRefreshTokenData; this._authenticationSettings = authenticationSettings.Value; this._mapper = mapper; this._emailSender = emailSender; }
public UserRoleService(IUserRoleDataFactory userRoleDataFactory) { _userRoleData = new UserRoleDataFactory().Create(); }