Exemplo n.º 1
0
 // private readonly IMapper _mapper;
 public RedisController(ILogger <OrderController> logger,
                        RedisCache distributedCache
                        , IOptions <AppSettings> appSettings,
                        ChariotContext _chariotContext, IMapper mapper, IHostingEnvironment envrnmt) : base(_chariotContext, distributedCache, appSettings, mapper)
 {
     _redisBusiness = new RedisBusiness(_chariotContext, distributedCache, mapper);
     _Env           = envrnmt;
 }
Exemplo n.º 2
0
 public RedisTest()
 {
     this.business = new RedisBusiness();
 }