public async Task <CounterDetails> GetCounterById(int id)
        {
            var counterData = await _counterRepository.GetCounterById(id);

            return(_mapper.Map <CounterDetails>(counterData));
        }