static void Main(string[] args)
        {
            DependencyInjectionManager manager    = new DependencyInjectionManager();
            RedisController            controller = new RedisController(manager);

            controller.Menu();
        }
 public RedisController(DependencyInjectionManager manager)
 {
     _manager = manager;
     using (var scope = _manager.ServiceProvider.CreateScope())
     {
         _redisRepo = scope.ServiceProvider.GetService <IRedisRepository>();
     }
 }