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