public void Configure(IApplicationBuilder app, IRedisStackExchangeAPI redisStackExchangeAPI) { redisStackExchangeAPI.ConnectServer(); app.UseRouting(); app.UseEndpoints(endpoints => { endpoints.MapDefaultControllerRoute(); }); }
public SetTypesController(IRedisStackExchangeAPI redisStackExchangeAPI) { _database = redisStackExchangeAPI.GetSelectedDatabase(3); //3 numaralı veri tabanını seçiyorum. }