예제 #1
0
        public ActionResult <IEnumerable <CommandReadDto> > GetAllCommands()
        {
            var commandsItems = _repository.GetAppCommand();

            return(Ok(_mapper.Map <IEnumerable <CommandReadDto> >(commandsItems)));
        }