Exemplo n.º 1
0
        public IActionResult GetIncrement()
        {
            _counterService.Increment();

            return(Ok(_counterService.GetValue()));
        }
Exemplo n.º 2
0
        public IEnumerable <string> Get()
        {
            _counterService.Increment();

            return(Enumerable.Range(1, _counterService.GetValue()).Select(x => $"value{x}"));
        }