[HttpGet] // Action verb
        public ActionResult <IEnumerable <CommandReadDto> > GetAll()
        {
            var commands = _respository
                           .GetAll();

            if (!commands.Any())
            {
                return(NotFound());
            }

            var result = _mapper.Map <IEnumerable <CommandReadDto> >(commands);

            return(Ok(result));
        }