public ActionResult <IEnumerable <CommandReadDto> > GetAllCommands() { var commandsItems = _repository.GetAppCommand(); return(Ok(_mapper.Map <IEnumerable <CommandReadDto> >(commandsItems))); }