public MongoRepLog(string Usuario, IOptions <Models.AppSettings> appSettings) { _appSettings = appSettings.Value; conexaoMongoDB = _appSettings.ConexaoMongoDB; var cliente = new MongoClient(conexaoMongoDB); Database = cliente.GetDatabase(DataBaseName); UsuarioInstagram = Usuario; }
public MineModel(IOptions <Models.AppSettings> appSettings) { this.appSettings = appSettings.Value; }
public FidelityBonusService(IFidelityBonusRepository fidelityBonusRepository, IOptions <Models.AppSettings> options) { this._repository = fidelityBonusRepository; this._appSettings = options.Value; }
public BookService(IBookRepository bookRepository, IOptions <Models.AppSettings> options) { this._repository = bookRepository; this._appSettings = options.Value; }
public OrderService(IOrderRepository orderRepository, IOptions <Models.AppSettings> options) { this._repository = orderRepository; this._appSettings = options.Value; }
public IndexPageModel(IOptions <Models.AppSettings> appSettings) { this.appSettings = appSettings.Value; }
public OverviewModel(IOptions <Models.AppSettings> appSettings) { this.appSettings = appSettings.Value; }
public CustomerService(ICustomerRepository userRepository, IOptions <Models.AppSettings> options) { this._repository = userRepository; this._appSettings = options.Value; }
public ListAllModel(IOptions <Models.AppSettings> appSettings) { this.appSettings = appSettings.Value; }
public PagamentoController(IOptions <Models.AppSettings> appSettings) { _settings = appSettings; _appSettings = appSettings.Value; }
public DetailsModel(IOptions <Models.AppSettings> appSettings) { this.appSettings = appSettings.Value; }
public AdminController(IOptions <Models.AppSettings> appSettings) { _settings = appSettings; _appSettings = appSettings.Value; }
public AuthorService(IAuthorRepository authorRepository, IOptions <Models.AppSettings> options) { this._repository = authorRepository; this._appSettings = options.Value; }
public UserService(Data.Repositories.RepoWrappers.IRepoWrapper repoWrapper, IOptions <Models.AppSettings> appSettings) { _repoWrapper = repoWrapper; _appSettings = appSettings.Value; }
public FeedbackModel(IOptions <Models.AppSettings> appSettings) { this.appSettings = appSettings.Value; }
public RoleService(IRoleRepository roleRepository, IOptions <Models.AppSettings> options) { this._repository = roleRepository; this._appSettings = options.Value; }
public ContentModel(IOptions <Models.AppSettings> appSettings) { this.appSettings = appSettings.Value; }
public CategoryService(ICategoryRepository categoryRepository, IOptions <Models.AppSettings> options) { this._repository = categoryRepository; this._appSettings = options.Value; }
public AuthenticateController(IOptions <Models.AppSettings> appSettings, IUsers users) { _users = users; _appSettings = appSettings.Value; }
public JwtMiddleware(RequestDelegate del, IOptions <Models.AppSettings> options) { _next = del; _appSettings = options.Value; }